Created $lib/util/fpa.ts file with NumberToFPA
This commit is contained in:
parent
28614e4879
commit
5ac1a34d0b
5
src/lib/util/fpa.ts
Normal file
5
src/lib/util/fpa.ts
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
|
||||||
|
|
||||||
|
export const NumberToFPA = (value: number): string => {
|
||||||
|
return (value / 100).toFixed(2);
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user