Skip to content
This repository was archived by the owner on Jun 8, 2024. It is now read-only.

Commit 6cef83c

Browse files
committed
Add waehrung function for currency formatting
1 parent bcdd770 commit 6cef83c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/standard/waehrung.js renamed to src/lib/standard/waehrung.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
function waehrung(number) {
2+
function waehrung(number: number): string {
33
return number.toLocaleString('de-DE', { minimumFractionDigits: 2, maximumFractionDigits: 2 });
44
};
55

0 commit comments

Comments
 (0)