-
-
Notifications
You must be signed in to change notification settings - Fork 198
Open
Description
Check this line in project.
The problem is formatCurrency()
does not respect optionalCharacteristic
option and chops off leading zero before the decimal point.
For example for this input:
numbro(-0.004).format({
output: 'currency',
currencySymbol: '$',
currencyPosition: 'prefix',
mantissa: 2,
optionalCharacteristic: false
});
we get this output:
-$.00
but it should be:
-$0.00
Metadata
Metadata
Assignees
Labels
No labels