es6 convert string to decimal code example
Example: how to change a string to number in javascript
let theInt = parseInt("5.90123"); //5
let theFloat = parseFloat("5.90123"); //5.90123
let theInt = parseInt("5.90123"); //5
let theFloat = parseFloat("5.90123"); //5.90123