{"action":"created","issue":{"url":"https://api.github.com/repos/jquery/globalize/issues/564","labels_url":"https://api.github.com/repos/jquery/globalize/issues/564/labels{/name}","comments_url":"https://api.github.com/repos/jquery/globalize/issues/564/comments","events_url":"https://api.github.com/repos/jquery/globalize/issues/564/events","html_url":"https://github.com/jquery/globalize/issues/564","id":121011391,"number":564,"title":"numberParser issue with parsing numbers","user":{"login":"Jcomper","id":16208648,"avatar_url":"https://avatars.githubusercontent.com/u/16208648?v=3","gravatar_id":"","url":"https://api.github.com/users/Jcomper","html_url":"https://github.com/Jcomper","followers_url":"https://api.github.com/users/Jcomper/followers","following_url":"https://api.github.com/users/Jcomper/following{/other_user}","gists_url":"https://api.github.com/users/Jcomper/gists{/gist_id}","starred_url":"https://api.github.com/users/Jcomper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jcomper/subscriptions","organizations_url":"https://api.github.com/users/Jcomper/orgs","repos_url":"https://api.github.com/users/Jcomper/repos","events_url":"https://api.github.com/users/Jcomper/events{/privacy}","received_events_url":"https://api.github.com/users/Jcomper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-08T13:57:41Z","updated_at":"2015-12-08T14:14:17Z","closed_at":null,"body":"Hi, I'm trying to parse numbers in Swedish locale and got unexpected results:\r\n\r\n    var globalize = Globalize(\"se-SE\");\r\n    var numberParser = globalize.numberParser({ minimumFractionDigits: 2 });\r\n    var numberFormatter = globalize.numberFormatter({ minimumFractionDigits: 2 });\r\n    \t\t\r\n    console.log(numberFormatter(395839.580)); // outputs 395 839,58\r\n    console.log(numberParser(\"395839,580\")); // outputs 395839.58\r\n    console.log(numberParser(\"395 839,58\")); // expected 395839.58, but outputs NaN\r\n\r\nWhy formatting the number working well but parsing that number returns NaN?"},"comment":{"url":"https://api.github.com/repos/jquery/globalize/issues/comments/162892567","html_url":"https://github.com/jquery/globalize/issues/564#issuecomment-162892567","issue_url":"https://api.github.com/repos/jquery/globalize/issues/564","id":162892567,"user":{"login":"rxaviers","id":967155,"avatar_url":"https://avatars.githubusercontent.com/u/967155?v=3","gravatar_id":"","url":"https://api.github.com/users/rxaviers","html_url":"https://github.com/rxaviers","followers_url":"https://api.github.com/users/rxaviers/followers","following_url":"https://api.github.com/users/rxaviers/following{/other_user}","gists_url":"https://api.github.com/users/rxaviers/gists{/gist_id}","starred_url":"https://api.github.com/users/rxaviers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rxaviers/subscriptions","organizations_url":"https://api.github.com/users/rxaviers/orgs","repos_url":"https://api.github.com/users/rxaviers/repos","events_url":"https://api.github.com/users/rxaviers/events{/privacy}","received_events_url":"https://api.github.com/users/rxaviers/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T14:14:17Z","updated_at":"2015-12-08T14:14:17Z","body":"If the above works, check if the blank space (used by the grouping separator) is the same for both your sample code and what you get when formatting."}}