61
rated 0 times
[
65]
[
4]
/ answers: 1 / hits: 17755
/ 9 Years ago, wed, august 5, 2015, 12:00:00
I'm trying to get rid of currency sign in order to calculate new price using parseFloat, but it returns nan for some reason.
var pricePerUser = £19.99;
pricePerUser = parseFloat(pricePerUser) * 3;
console.log(pricePerUser); //Returns NaN
More From » jquery