money-format
v1.0.2
Published
Package with money format utils
Downloads
2
Maintainers
Readme
MONEY-FORMAT
a utilities repository for formating money
- readTransform(precision:number, value:number): string // inputs a precision and a value, returns string in given precision
- writeTransform(precision:number, value:string): number // oposite transform, taking string and precision, returning equivalent number