{"action":"created","issue":{"url":"https://api.github.com/repos/plentz/jquery-maskmoney/issues/123","labels_url":"https://api.github.com/repos/plentz/jquery-maskmoney/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/plentz/jquery-maskmoney/issues/123/comments","events_url":"https://api.github.com/repos/plentz/jquery-maskmoney/issues/123/events","html_url":"https://github.com/plentz/jquery-maskmoney/issues/123","id":30936167,"number":123,"title":"Problem to get value with \"unmasked\" when precision is 0","user":{"login":"atrandafir","id":3097251,"avatar_url":"https://avatars.githubusercontent.com/u/3097251?v=3","gravatar_id":"","url":"https://api.github.com/users/atrandafir","html_url":"https://github.com/atrandafir","followers_url":"https://api.github.com/users/atrandafir/followers","following_url":"https://api.github.com/users/atrandafir/following{/other_user}","gists_url":"https://api.github.com/users/atrandafir/gists{/gist_id}","starred_url":"https://api.github.com/users/atrandafir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atrandafir/subscriptions","organizations_url":"https://api.github.com/users/atrandafir/orgs","repos_url":"https://api.github.com/users/atrandafir/repos","events_url":"https://api.github.com/users/atrandafir/events{/privacy}","received_events_url":"https://api.github.com/users/atrandafir/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/plentz/jquery-maskmoney/labels/bug","name":"bug","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/plentz/jquery-maskmoney/milestones/6","html_url":"https://github.com/plentz/jquery-maskmoney/milestones/3.1","labels_url":"https://api.github.com/repos/plentz/jquery-maskmoney/milestones/6/labels","id":670080,"number":6,"title":"3.1","description":"","creator":{"login":"plentz","id":4867,"avatar_url":"https://avatars.githubusercontent.com/u/4867?v=3","gravatar_id":"","url":"https://api.github.com/users/plentz","html_url":"https://github.com/plentz","followers_url":"https://api.github.com/users/plentz/followers","following_url":"https://api.github.com/users/plentz/following{/other_user}","gists_url":"https://api.github.com/users/plentz/gists{/gist_id}","starred_url":"https://api.github.com/users/plentz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plentz/subscriptions","organizations_url":"https://api.github.com/users/plentz/orgs","repos_url":"https://api.github.com/users/plentz/repos","events_url":"https://api.github.com/users/plentz/events{/privacy}","received_events_url":"https://api.github.com/users/plentz/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":7,"state":"open","created_at":"2014-05-25T17:02:54Z","updated_at":"2015-03-06T02:22:53Z","due_on":"2014-07-31T07:00:00Z","closed_at":null},"comments":10,"created_at":"2014-04-06T11:57:18Z","updated_at":"2015-05-22T18:42:51Z","closed_at":null,"body":"I have configured it with precision to 0, because I dont want any decimals.\r\n\r\nSo when I type 555555 it turns into 555.555 €, but when I use \"unmasked\" it will bring back 555.555 instead of 555555 as it should."},"comment":{"url":"https://api.github.com/repos/plentz/jquery-maskmoney/issues/comments/104740819","html_url":"https://github.com/plentz/jquery-maskmoney/issues/123#issuecomment-104740819","issue_url":"https://api.github.com/repos/plentz/jquery-maskmoney/issues/123","id":104740819,"user":{"login":"NemSavic","id":2549843,"avatar_url":"https://avatars.githubusercontent.com/u/2549843?v=3","gravatar_id":"","url":"https://api.github.com/users/NemSavic","html_url":"https://github.com/NemSavic","followers_url":"https://api.github.com/users/NemSavic/followers","following_url":"https://api.github.com/users/NemSavic/following{/other_user}","gists_url":"https://api.github.com/users/NemSavic/gists{/gist_id}","starred_url":"https://api.github.com/users/NemSavic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NemSavic/subscriptions","organizations_url":"https://api.github.com/users/NemSavic/orgs","repos_url":"https://api.github.com/users/NemSavic/repos","events_url":"https://api.github.com/users/NemSavic/events{/privacy}","received_events_url":"https://api.github.com/users/NemSavic/received_events","type":"User","site_admin":false},"created_at":"2015-05-22T18:42:51Z","updated_at":"2015-05-22T18:42:51Z","body":"I believe I resolved this by utilizing jQuery.data() to bind the settings to the element and then reusing them to determine the decimal value. I've added a pull request for this update, #175"}}