156
rated 0 times
[
162]
[
6]
/ answers: 1 / hits: 28357
/ 10 Years ago, tue, july 22, 2014, 12:00:00
I want to parse a string and I used parseFloat()
, but it removes all the trailing zeroes. How to prevent this - I need to parse the string exactly - if I have 2.5000, I need exactly the same result as a floating-point number - 2.5000.
More From » parsing