{"issue":{"created_at":"2011-12-14T09:46:57Z","state":"open","updated_at":"2011-12-14T09:46:57Z","comments":0,"user":{"gravatar_id":"123f36253be58c04f42a0414d420ebae","id":817577,"url":"https://api.github.com/users/AndersMalmgren","login":"AndersMalmgren","avatar_url":"https://secure.gravatar.com/avatar/123f36253be58c04f42a0414d420ebae?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Hi.\r\nConsider the text string \"5.5\", even if dot is not a seperator in the current culture the parseFloat will parse \"5.5\" into 5.5\r\nI override the parseFloat and did this, maybe you guys can incorporate it into your code\r\n\r\n    var orgParseFloat = Globalize.parseFloat;\r\n    Globalize.parseFloat = function(value) {\r\n        var culture = this.findClosestCulture();\r\n        var seperatorFound = false;\r\n        for(var i in culture.numberFormat) {\r\n            if(culture.numberFormat[i] == \".\") {\r\n                seperatorFound = true;\r\n            }\r\n        }\r\n        \r\n        if(!seperatorFound) {\r\n            value = value.replace(\".\", \"NaN\");\r\n        }\r\n\r\n        return $.proxy(orgParseFloat, this)(value);\r\n    };","assignee":null,"id":2549359,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":85,"title":"parseFloat accepts dot even if its not part of culture","html_url":"https://github.com/jquery/globalize/issues/85","closed_at":null,"url":"https://api.github.com/repos/jquery/globalize/issues/85","milestone":null},"action":"opened"}