Open jrsearles opened 7 years ago
If the number is negative and rounds down to 0, the formatting is keeping the negative symbol.
Globalize.formatNumber(-0.25, { minimumFractionDigits: 0, maximumFractionDigits: 0 }) // yields "-0" // expect "0"
Thanks for filing this issue. Anyone willing to work on a fix? :)
If the number is negative and rounds down to 0, the formatting is keeping the negative symbol.