Open sauliko opened 5 years ago
Hi
I'm using accounting.formatMoney() function. I want to write a number as € 1,119 but it's rounding 1,120 how to disable this ?
accounting.formatMoney(1,119, '€', 3, '.', ',');
Thanks
This lib is not maintained. Please refer to my lightweight alternative that supports all that: https://github.com/zdanowiczkonrad/number-currency-format - look for the showDecimals: "AS_IS" option.
showDecimals: "AS_IS"
Hi
I'm using accounting.formatMoney() function. I want to write a number as € 1,119 but it's rounding 1,120 how to disable this ?
accounting.formatMoney(1,119, '€', 3, '.', ',');
Thanks