{"action":"created","issue":{"url":"https://api.github.com/repos/miloyip/rapidjson/issues/362","repository_url":"https://api.github.com/repos/miloyip/rapidjson","labels_url":"https://api.github.com/repos/miloyip/rapidjson/issues/362/labels{/name}","comments_url":"https://api.github.com/repos/miloyip/rapidjson/issues/362/comments","events_url":"https://api.github.com/repos/miloyip/rapidjson/issues/362/events","html_url":"https://github.com/miloyip/rapidjson/issues/362","id":90408380,"number":362,"title":"Truncate Double Values","user":{"login":"nightmouse","id":671685,"avatar_url":"https://avatars.githubusercontent.com/u/671685?v=3","gravatar_id":"","url":"https://api.github.com/users/nightmouse","html_url":"https://github.com/nightmouse","followers_url":"https://api.github.com/users/nightmouse/followers","following_url":"https://api.github.com/users/nightmouse/following{/other_user}","gists_url":"https://api.github.com/users/nightmouse/gists{/gist_id}","starred_url":"https://api.github.com/users/nightmouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nightmouse/subscriptions","organizations_url":"https://api.github.com/users/nightmouse/orgs","repos_url":"https://api.github.com/users/nightmouse/repos","events_url":"https://api.github.com/users/nightmouse/events{/privacy}","received_events_url":"https://api.github.com/users/nightmouse/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/miloyip/rapidjson/labels/enhancement","name":"enhancement","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-23T14:42:47Z","updated_at":"2016-02-11T08:10:40Z","closed_at":null,"body":"It'd be nice if the GenericValue::Double() method took a default parameter to truncate double values:\r\n\r\nv.Double(12.529999732971191);    ---> 12.529999732971191\r\nv.Double(12.529999732971191, 3) ---> 12.529\r\n"},"comment":{"url":"https://api.github.com/repos/miloyip/rapidjson/issues/comments/182758099","html_url":"https://github.com/miloyip/rapidjson/issues/362#issuecomment-182758099","issue_url":"https://api.github.com/repos/miloyip/rapidjson/issues/362","id":182758099,"user":{"login":"miloyip","id":1195774,"avatar_url":"https://avatars.githubusercontent.com/u/1195774?v=3","gravatar_id":"","url":"https://api.github.com/users/miloyip","html_url":"https://github.com/miloyip","followers_url":"https://api.github.com/users/miloyip/followers","following_url":"https://api.github.com/users/miloyip/following{/other_user}","gists_url":"https://api.github.com/users/miloyip/gists{/gist_id}","starred_url":"https://api.github.com/users/miloyip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miloyip/subscriptions","organizations_url":"https://api.github.com/users/miloyip/orgs","repos_url":"https://api.github.com/users/miloyip/repos","events_url":"https://api.github.com/users/miloyip/events{/privacy}","received_events_url":"https://api.github.com/users/miloyip/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T08:10:40Z","updated_at":"2016-02-11T08:10:40Z","body":"Added in PR #536. \r\nThe current implementation simply truncate decimal places (not rounding, not significant digits).\r\nPlease review."}}