jquery/globalize — Issue #83: Globalize.ParseFloat work incorrect for very big numbers
Author: belhunter
Created: 2011-12-05 13:20:28+00:00
State: open

Hi,

Globalize.parseFloat('9999999999999999', 10, 'en-US') returns 10000000000000000 (at least in FF8) that is wrong.

Globalize.parseFloat('999999999999999', 10, 'en-US') returns 999999999999999 (that is right), but if add decimal part
Globalize.parseFloat('999999999999999.99', 10, 'en-US') then it returns 1000000000000000.

As I see parseFloat (native js function) returns incorrect values.

Could you fix these problems?