{"action":"created","issue":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4822","labels_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4822/labels{/name}","comments_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4822/comments","events_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4822/events","html_url":"https://github.com/HabitRPG/habitrpg/pull/4822","id":60278101,"number":4822,"title":"Fix Mana rounding on the stats page. Fixes #4820","user":{"login":"benschenker","id":2434612,"avatar_url":"https://avatars.githubusercontent.com/u/2434612?v=3","gravatar_id":"","url":"https://api.github.com/users/benschenker","html_url":"https://github.com/benschenker","followers_url":"https://api.github.com/users/benschenker/followers","following_url":"https://api.github.com/users/benschenker/following{/other_user}","gists_url":"https://api.github.com/users/benschenker/gists{/gist_id}","starred_url":"https://api.github.com/users/benschenker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benschenker/subscriptions","organizations_url":"https://api.github.com/users/benschenker/orgs","repos_url":"https://api.github.com/users/benschenker/repos","events_url":"https://api.github.com/users/benschenker/events{/privacy}","received_events_url":"https://api.github.com/users/benschenker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-03-08T21:48:50Z","updated_at":"2015-03-13T16:14:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/pulls/4822","html_url":"https://github.com/HabitRPG/habitrpg/pull/4822","diff_url":"https://github.com/HabitRPG/habitrpg/pull/4822.diff","patch_url":"https://github.com/HabitRPG/habitrpg/pull/4822.patch"},"body":"In #4820 @Blablux saw that the Mana was being rounded differently in the header hero-stats and on the stats page.  In the header the number is rounded down to the next integer (using Math.floor), but on the stats page the number is just rounded to the nearest integer (using angular's built in number filter: https://docs.angularjs.org/api/ng/filter/number).  Rounding mana up from 43.7 to 44 doesn't make sense because there are only 43 full mana available.  \r\nI noticed that this discrepancy exists for HP and EXP but being my first PR here I didn't want to overstep..."},"comment":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/comments/79088824","html_url":"https://github.com/HabitRPG/habitrpg/pull/4822#issuecomment-79088824","issue_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4822","id":79088824,"user":{"login":"benschenker","id":2434612,"avatar_url":"https://avatars.githubusercontent.com/u/2434612?v=3","gravatar_id":"","url":"https://api.github.com/users/benschenker","html_url":"https://github.com/benschenker","followers_url":"https://api.github.com/users/benschenker/followers","following_url":"https://api.github.com/users/benschenker/following{/other_user}","gists_url":"https://api.github.com/users/benschenker/gists{/gist_id}","starred_url":"https://api.github.com/users/benschenker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benschenker/subscriptions","organizations_url":"https://api.github.com/users/benschenker/orgs","repos_url":"https://api.github.com/users/benschenker/repos","events_url":"https://api.github.com/users/benschenker/events{/privacy}","received_events_url":"https://api.github.com/users/benschenker/received_events","type":"User","site_admin":false},"created_at":"2015-03-13T16:14:37Z","updated_at":"2015-03-13T16:14:37Z","body":"any updates on this? should I rebase?"}}