Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

convert string to number javascript

var myString = "869.99"
var myFloat = parseFloat(myString)
var myInt = parseInt(myString)
 
PREVIOUS NEXT
Tagged: #convert #string #number #javascript
ADD COMMENT
Topic
Name
2+1 =