js turn to integer 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