{"action":"created","issue":{"url":"https://api.github.com/repos/agordon/datamash/issues/5","repository_url":"https://api.github.com/repos/agordon/datamash","labels_url":"https://api.github.com/repos/agordon/datamash/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/agordon/datamash/issues/5/comments","events_url":"https://api.github.com/repos/agordon/datamash/issues/5/events","html_url":"https://github.com/agordon/datamash/issues/5","id":125940713,"number":5,"title":"feature request: --round option to N decimal places","user":{"login":"avilella","id":158007,"avatar_url":"https://avatars.githubusercontent.com/u/158007?v=3","gravatar_id":"","url":"https://api.github.com/users/avilella","html_url":"https://github.com/avilella","followers_url":"https://api.github.com/users/avilella/followers","following_url":"https://api.github.com/users/avilella/following{/other_user}","gists_url":"https://api.github.com/users/avilella/gists{/gist_id}","starred_url":"https://api.github.com/users/avilella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avilella/subscriptions","organizations_url":"https://api.github.com/users/avilella/orgs","repos_url":"https://api.github.com/users/avilella/repos","events_url":"https://api.github.com/users/avilella/events{/privacy}","received_events_url":"https://api.github.com/users/avilella/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-11T13:10:27Z","updated_at":"2016-05-12T18:14:19Z","closed_at":null,"body":"Would it be possible to add '--round N' option to datamash so that the values coming out of the calculations are rounded to a certain number of decimal places? Thx"},"comment":{"url":"https://api.github.com/repos/agordon/datamash/issues/comments/218840681","html_url":"https://github.com/agordon/datamash/issues/5#issuecomment-218840681","issue_url":"https://api.github.com/repos/agordon/datamash/issues/5","id":218840681,"user":{"login":"sskarkhanis","id":6615882,"avatar_url":"https://avatars.githubusercontent.com/u/6615882?v=3","gravatar_id":"","url":"https://api.github.com/users/sskarkhanis","html_url":"https://github.com/sskarkhanis","followers_url":"https://api.github.com/users/sskarkhanis/followers","following_url":"https://api.github.com/users/sskarkhanis/following{/other_user}","gists_url":"https://api.github.com/users/sskarkhanis/gists{/gist_id}","starred_url":"https://api.github.com/users/sskarkhanis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sskarkhanis/subscriptions","organizations_url":"https://api.github.com/users/sskarkhanis/orgs","repos_url":"https://api.github.com/users/sskarkhanis/repos","events_url":"https://api.github.com/users/sskarkhanis/events{/privacy}","received_events_url":"https://api.github.com/users/sskarkhanis/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T18:14:19Z","updated_at":"2016-05-12T18:14:19Z","body":"I second that...it would be really great to have the '--round N' feature to datamash...\r\ncurrently , I have to use an awk work around\r\n\r\nif it's easier/quicker, it would be great if datamash by default rounds to 2/3 digits of a number when using any of the stat functions mean, median etc"}}