Open Vesuri opened 2 years ago
I'm also seeing the strange behaviour (also on numeral
2.0.6
):
>> numeral(-0.005).format("$0,0.00");
"0$.00"
EDIT: FWIW it seems numbro
(a more recently maintained fork of this repo) doesn't have this issue for me.
Is there a plan to address this issue?
When using the format string
"$0,0.00"
formatting a value in the range-0.005 <= value < 0
results in the string0$.00
instead of$0.00
:Numeral version 2.0.6. Tested with Firefox version 105.0.1 and Chrome version 105.0.5195.125.