NaN parsing CVE currency value
deepak786 opened this issue · 0 comments
deepak786 commented
I have the formatted price in the currency CVE
formatted price is 3,000,00 This price is formatted from the android device based on the selected locale.
I'm using the below code to parse the currency
var currency = require("currencyformatter.js");
console.log(currency.parse('3,000,00 ', { currency: 'CVE' } ));
The above code gives NaN.