We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee6b86c commit c4040d5Copy full SHA for c4040d5
1 file changed
src/utilities/currency/index.ts
@@ -2,7 +2,7 @@ type FormatOptions = {
2
precision?: number;
3
};
4
5
-export function format(value: number, options: FormatOptions = { precistion: 2 }): string {
+export function format(value: number, options: FormatOptions = { precision: 2 }): string {
6
return value
7
.toFixed(options.precision)
8
.replace('.', ',')
0 commit comments