convert string to int es6 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