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