DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
6+6 =
Submit