Closed cdiaz closed 6 years ago
For this case:
OSREC.CurrencyFormatter.parse('€ -99,50', { locale: 'it' });
The current behavior return: -99.5 The expected behavior is: Returns -99.50
-99.5
Returns -99.50
Is there any way to do it?
Remember, the value returned is a numeric type, not a string. Therefore, you should use val.toFixed(2) on the returned value.
For this case:
The current behavior return:
-99.5
The expected behavior is:Returns -99.50
Is there any way to do it?