Parsing Localized Strings in JavaScript

Now I discover (well, the testers discover) JavaScript does not take locale into consideration when attempting to parse a float.

So if you’re localized to Belgium, then parseFloat ('134,39') returns 134.

You’ll need to wrap parseFloat appropriately.

More like this: , .