Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript convert string to number

//For Integer
parseInt(string);

//For Float Or Double (Decimal Points)
parseFloat(string);
Source by gomakethings.com #
 
PREVIOUS NEXT
Tagged: #javascript #convert #string #number
ADD COMMENT
Topic
Name
2+2 =