converting strings to integers in javascript code example
Example: string to int javascript
var text = '3.14someRandomStuff';
var pointNum = parseFloat(text);
// returns 3.14
var text = '3.14someRandomStuff';
var pointNum = parseFloat(text);
// returns 3.14