$ node
> parseInt('$1,000,000'.replace(/,|\$/g,''))
1000000
solved Converting a number string to a number? [duplicate]
$ node
> parseInt('$1,000,000'.replace(/,|\$/g,''))
1000000
solved Converting a number string to a number? [duplicate]