It looks like you're new here. If you want to get involved, click one of these buttons!
var mystring = "100.98"; // "100.98" var myint = parseInt(mystring); // 100 var myfloat = parseFloat(mystring); // 100.98
Comments
You can convert strings to integers/floats with the parseInt and parseFloat functions, respectively.
Webmaster-Talk.com
Chroder.com