{"action":"created","issue":{"url":"https://api.github.com/repos/lotus/helpers/issues/11","labels_url":"https://api.github.com/repos/lotus/helpers/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/lotus/helpers/issues/11/comments","events_url":"https://api.github.com/repos/lotus/helpers/issues/11/events","html_url":"https://github.com/lotus/helpers/pull/11","id":56944021,"number":11,"title":"WIP Implement number formatting helper","user":{"login":"tomkadwill","id":907365,"avatar_url":"https://avatars.githubusercontent.com/u/907365?v=3","gravatar_id":"","url":"https://api.github.com/users/tomkadwill","html_url":"https://github.com/tomkadwill","followers_url":"https://api.github.com/users/tomkadwill/followers","following_url":"https://api.github.com/users/tomkadwill/following{/other_user}","gists_url":"https://api.github.com/users/tomkadwill/gists{/gist_id}","starred_url":"https://api.github.com/users/tomkadwill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomkadwill/subscriptions","organizations_url":"https://api.github.com/users/tomkadwill/orgs","repos_url":"https://api.github.com/users/tomkadwill/repos","events_url":"https://api.github.com/users/tomkadwill/events{/privacy}","received_events_url":"https://api.github.com/users/tomkadwill/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-08T08:30:48Z","updated_at":"2015-02-09T10:03:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/lotus/helpers/pulls/11","html_url":"https://github.com/lotus/helpers/pull/11","diff_url":"https://github.com/lotus/helpers/pull/11.diff","patch_url":"https://github.com/lotus/helpers/pull/11.patch"},"body":"Work In Progress. Please don't merge."},"comment":{"url":"https://api.github.com/repos/lotus/helpers/issues/comments/73483582","html_url":"https://github.com/lotus/helpers/pull/11#issuecomment-73483582","issue_url":"https://api.github.com/repos/lotus/helpers/issues/11","id":73483582,"user":{"login":"jodosha","id":5089,"avatar_url":"https://avatars.githubusercontent.com/u/5089?v=3","gravatar_id":"","url":"https://api.github.com/users/jodosha","html_url":"https://github.com/jodosha","followers_url":"https://api.github.com/users/jodosha/followers","following_url":"https://api.github.com/users/jodosha/following{/other_user}","gists_url":"https://api.github.com/users/jodosha/gists{/gist_id}","starred_url":"https://api.github.com/users/jodosha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodosha/subscriptions","organizations_url":"https://api.github.com/users/jodosha/orgs","repos_url":"https://api.github.com/users/jodosha/repos","events_url":"https://api.github.com/users/jodosha/events{/privacy}","received_events_url":"https://api.github.com/users/jodosha/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T10:03:26Z","updated_at":"2015-02-09T10:03:26Z","body":"Yes for `precision`. Default 2 digits, but it should only present those for non integer numbers.\r\n\r\n```ruby\r\nformat_number 10 # => 10\r\nformat_number 3.141592 # => 3.14\r\n\r\nformat_number 10, precision: 4 # => 10.0000\r\nformat_number 3.141592, precision: 4 # => 3.1415\r\n```"}}