javascript cast strin to nt 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