Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to change a string to number in javascript

let theInt = parseInt("5.90123"); //5
let theFloat = parseFloat("5.90123"); //5.90123
 
PREVIOUS NEXT
Tagged: #change #string #number #javascript
ADD COMMENT
Topic
Name
3+6 =