157
rated 0 times
[
159]
[
2]
/ answers: 1 / hits: 51781
/ 15 Years ago, thu, may 7, 2009, 12:00:00
I have a javascript function that accepts a number and performs a mathematical operation on the number. However, the number I'm passing in could have a comma in it, and from my limited experience with Javascript I am having problems working with that value. It doesn't seem to treat that as a numeric type.
What's the easiest way to take a parameter with a value of 1,000 and convert it to a numeric 1000?
More From » regex