{"action":"created","issue":{"url":"https://api.github.com/repos/ohler55/oj/issues/274","labels_url":"https://api.github.com/repos/ohler55/oj/issues/274/labels{/name}","comments_url":"https://api.github.com/repos/ohler55/oj/issues/274/comments","events_url":"https://api.github.com/repos/ohler55/oj/issues/274/events","html_url":"https://github.com/ohler55/oj/issues/274","id":118572107,"number":274,"title":"Ruby default float_precision (0) issue","user":{"login":"thibaudgg","id":1322,"avatar_url":"https://avatars.githubusercontent.com/u/1322?v=3","gravatar_id":"","url":"https://api.github.com/users/thibaudgg","html_url":"https://github.com/thibaudgg","followers_url":"https://api.github.com/users/thibaudgg/followers","following_url":"https://api.github.com/users/thibaudgg/following{/other_user}","gists_url":"https://api.github.com/users/thibaudgg/gists{/gist_id}","starred_url":"https://api.github.com/users/thibaudgg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thibaudgg/subscriptions","organizations_url":"https://api.github.com/users/thibaudgg/orgs","repos_url":"https://api.github.com/users/thibaudgg/repos","events_url":"https://api.github.com/users/thibaudgg/events{/privacy}","received_events_url":"https://api.github.com/users/thibaudgg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-24T10:05:23Z","updated_at":"2015-11-24T16:19:19Z","closed_at":null,"body":"Hey,\r\n\r\nWe're using Oj with MultiJson with the following settings:\r\n\r\n``` ruby\r\nrequire 'oj'\r\nrequire 'oj_mimic_json'\r\n\r\nMultiJson.use :oj\r\nOj.default_options = { float_precision: 0 } # Use Ruby default\r\n```\r\n\r\nIt was working great on `2.13.0` but since the `2.13.1` it breaks with float with a lot of precision (lat, lng), rspec diff:\r\n\r\n``` patch\r\n-  :lat=>40.492962029838964,\r\n+  :lat=>40.49296202983896,\r\n```\r\n\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/ohler55/oj/issues/comments/159319600","html_url":"https://github.com/ohler55/oj/issues/274#issuecomment-159319600","issue_url":"https://api.github.com/repos/ohler55/oj/issues/274","id":159319600,"user":{"login":"ohler55","id":118856,"avatar_url":"https://avatars.githubusercontent.com/u/118856?v=3","gravatar_id":"","url":"https://api.github.com/users/ohler55","html_url":"https://github.com/ohler55","followers_url":"https://api.github.com/users/ohler55/followers","following_url":"https://api.github.com/users/ohler55/following{/other_user}","gists_url":"https://api.github.com/users/ohler55/gists{/gist_id}","starred_url":"https://api.github.com/users/ohler55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ohler55/subscriptions","organizations_url":"https://api.github.com/users/ohler55/orgs","repos_url":"https://api.github.com/users/ohler55/repos","events_url":"https://api.github.com/users/ohler55/events{/privacy}","received_events_url":"https://api.github.com/users/ohler55/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T16:19:19Z","updated_at":"2015-11-24T16:19:19Z","body":"There was a bug in that part of the code and I did some refactoring. I guess I trimmed off too many places. I'll get it fixed."}}