currencyFormatter.js icon indicating copy to clipboard operation
currencyFormatter.js copied to clipboard

NaN parsing CVE currency value

Open deepak786 opened this issue 6 years ago • 0 comments

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.

deepak786 avatar Nov 25 '19 10:11 deepak786