Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

convert string number with commas decimal to number javascript

parseFloat(str.replace(',','.').replace(' ',''))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #string #number #commas #decimal #number #javascript
ADD COMMENT
Topic
Name
1+1 =