Hi,
I need to parse a float from a textbox that may be formatted like "150000" or like "150.000,00"--Dutch Locale.
If I use parseFloat on "150.000,00" what I get is 150. What I need is 150000. Using Locale in parsing would be good, but parseFloat doesn't take Locale as a parameter.
Does anybody know how to parse "150.000,00" into 150000 using Javascript?
Thanks in advance.
I need to parse a float from a textbox that may be formatted like "150000" or like "150.000,00"--Dutch Locale.
If I use parseFloat on "150.000,00" what I get is 150. What I need is 150000. Using Locale in parsing would be good, but parseFloat doesn't take Locale as a parameter.
Does anybody know how to parse "150.000,00" into 150000 using Javascript?
Thanks in advance.