{"action":"created","issue":{"url":"https://api.github.com/repos/webmin/webmin/issues/193","labels_url":"https://api.github.com/repos/webmin/webmin/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/webmin/webmin/issues/193/comments","events_url":"https://api.github.com/repos/webmin/webmin/issues/193/events","html_url":"https://github.com/webmin/webmin/issues/193","id":58619391,"number":193,"title":"Quotas array return an issue?","user":{"login":"qooob","id":4426533,"avatar_url":"https://avatars.githubusercontent.com/u/4426533?v=3","gravatar_id":"","url":"https://api.github.com/users/qooob","html_url":"https://github.com/qooob","followers_url":"https://api.github.com/users/qooob/followers","following_url":"https://api.github.com/users/qooob/following{/other_user}","gists_url":"https://api.github.com/users/qooob/gists{/gist_id}","starred_url":"https://api.github.com/users/qooob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qooob/subscriptions","organizations_url":"https://api.github.com/users/qooob/orgs","repos_url":"https://api.github.com/users/qooob/repos","events_url":"https://api.github.com/users/qooob/events{/privacy}","received_events_url":"https://api.github.com/users/qooob/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":43,"created_at":"2015-02-23T17:31:27Z","updated_at":"2015-03-03T18:02:52Z","closed_at":null,"body":"Jamie, hi!\r\n\r\nHere is what quotas array provides:\r\n```\r\n$VAR1 = {\r\n'chart' => [\r\n'137438953472',\r\n176570368,\r\n8192\r\n],\r\n'value' => '168.40 MB of 2 GB',\r\n'desc' => 'domain3.tld'\r\n};\r\n```\r\nI calculate it very simply: `(SecondValue/FirstValue) * 100` = %\r\n\r\nThe problem is that 137438953472 is not 2GB but ~128GB?\r\n\r\nThis is a bug, right? It's the same in the Virtualmin Framed Theme.\r\n\r\nHere is more about this issue: https://github.com/qooob/authentic-theme/issues/110#issuecomment-75549328"},"comment":{"url":"https://api.github.com/repos/webmin/webmin/issues/comments/76999367","html_url":"https://github.com/webmin/webmin/issues/193#issuecomment-76999367","issue_url":"https://api.github.com/repos/webmin/webmin/issues/193","id":76999367,"user":{"login":"7starsone","id":9358281,"avatar_url":"https://avatars.githubusercontent.com/u/9358281?v=3","gravatar_id":"","url":"https://api.github.com/users/7starsone","html_url":"https://github.com/7starsone","followers_url":"https://api.github.com/users/7starsone/followers","following_url":"https://api.github.com/users/7starsone/following{/other_user}","gists_url":"https://api.github.com/users/7starsone/gists{/gist_id}","starred_url":"https://api.github.com/users/7starsone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/7starsone/subscriptions","organizations_url":"https://api.github.com/users/7starsone/orgs","repos_url":"https://api.github.com/users/7starsone/repos","events_url":"https://api.github.com/users/7starsone/events{/privacy}","received_events_url":"https://api.github.com/users/7starsone/received_events","type":"User","site_admin":false},"created_at":"2015-03-03T18:02:52Z","updated_at":"2015-03-03T18:02:52Z","body":"```my $maxquota = $info->{'uquota'};```\r\nthe same... with any\r\n```'chart' => [\r\n                       0,\r\n                       ...\r\n```"}}