Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Number validation with digit grouping


  • From: javascript@xxxxxxxxxx (Tobias Barlind)
  • Subject: [Javascript] Number validation with digit grouping
  • Date: Mon, 21 Oct 2002 12:26:58 +0200

Does anyone have a good snippet that validates a string of numbers that
has digit grouping?

I.e "12,200.50"

isNaN returns true on this.

And I can't just simply remove all "," because I have to deal with
different languages having different decimal signs like "," instead of
"." :)

//B