DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript string comma seprated price to int
let output = parseFloat("2,299.00".replace(/,/g, '')); console.log(output); Run code snippet
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#javascript
#string
#comma
#seprated
#price
#int
ADD COMMENT
Topic
COMMENT
Name
2+5 =
Submit