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 stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #convert #string #number
ADD COMMENT
Topic
Name
5+5 =