I have a String e.g: \"4.874915326E7\". What is the best way to convert it to a javascript number format? (int or float)? if I try parseInt(), the E
e.g: \"4.874915326E7\"
You can also use + sign in front of your string to get a number.
+
+"4.874915326E7" // == 48749153.26