{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/android/issues/1381","labels_url":"https://api.github.com/repos/owncloud/android/issues/1381/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/android/issues/1381/comments","events_url":"https://api.github.com/repos/owncloud/android/issues/1381/events","html_url":"https://github.com/owncloud/android/issues/1381","id":123694009,"number":1381,"title":"Incomplete size in list and details view (PR 1209)","user":{"login":"jesmrec","id":14894746,"avatar_url":"https://avatars.githubusercontent.com/u/14894746?v=3","gravatar_id":"","url":"https://api.github.com/users/jesmrec","html_url":"https://github.com/jesmrec","followers_url":"https://api.github.com/users/jesmrec/followers","following_url":"https://api.github.com/users/jesmrec/following{/other_user}","gists_url":"https://api.github.com/users/jesmrec/gists{/gist_id}","starred_url":"https://api.github.com/users/jesmrec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jesmrec/subscriptions","organizations_url":"https://api.github.com/users/jesmrec/orgs","repos_url":"https://api.github.com/users/jesmrec/repos","events_url":"https://api.github.com/users/jesmrec/events{/privacy}","received_events_url":"https://api.github.com/users/jesmrec/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/android/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-23T17:16:05Z","updated_at":"2015-12-28T18:14:11Z","closed_at":null,"body":"PR: https://github.com/owncloud/android/pull/1209\r\n\r\nIn list view, uploads view and details view, the size of the file is shown without decimals. In server side is shown with at least one decimal when the size is greater than 1MB. For example, these two files:\r\n\r\nServer:\r\n343 KB (any decimal)\r\n1,4 MB (one decimal when size > 1MB)\r\n\r\nMobile device:\r\n343 KB (any decimal, right)\r\n1 MB (any decimal, should be shown the first one, as in server side)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/android/issues/comments/167618175","html_url":"https://github.com/owncloud/android/issues/1381#issuecomment-167618175","issue_url":"https://api.github.com/repos/owncloud/android/issues/1381","id":167618175,"user":{"login":"AndyScherzinger","id":1315170,"avatar_url":"https://avatars.githubusercontent.com/u/1315170?v=3","gravatar_id":"","url":"https://api.github.com/users/AndyScherzinger","html_url":"https://github.com/AndyScherzinger","followers_url":"https://api.github.com/users/AndyScherzinger/followers","following_url":"https://api.github.com/users/AndyScherzinger/following{/other_user}","gists_url":"https://api.github.com/users/AndyScherzinger/gists{/gist_id}","starred_url":"https://api.github.com/users/AndyScherzinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndyScherzinger/subscriptions","organizations_url":"https://api.github.com/users/AndyScherzinger/orgs","repos_url":"https://api.github.com/users/AndyScherzinger/repos","events_url":"https://api.github.com/users/AndyScherzinger/events{/privacy}","received_events_url":"https://api.github.com/users/AndyScherzinger/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T18:14:11Z","updated_at":"2015-12-28T18:14:11Z","body":"Code reference for the change that has been made which caused this: https://github.com/owncloud/android/commit/607fb6f5879245e2dd670e82be97e269a7d14a0b#diff-36e882c1d5231f769f0209395ecf63c4R58\r\nthe two lines basically. So the question is does it stand correct to have two decimals for peta byte and up? If so I can simply change the MB value in the digits array to 1 instead of zero and we are all set :)\r\n\r\nWould that be fine with you @davivel and @jancborchardt ?"}}