]> source.dussan.org Git - nextcloud-server.git/commit
Correctly round bytes when converted from human readable format
authorVincent Petry <pvince81@owncloud.com>
Mon, 17 Mar 2014 11:15:12 +0000 (12:15 +0100)
committerVincent Petry <pvince81@owncloud.com>
Mon, 17 Mar 2014 11:15:12 +0000 (12:15 +0100)
commit145db370d1e83978d0e575a60d7d61fbe1039cc4
tree4322274789cb86cc05c7ca9ca87a45b8ffd58a0d
parent518903c6eb865b7773e8953e5acb955551ad1674
Correctly round bytes when converted from human readable format

Instead of leave two decimal places which is confusing, round the byte
values correctly to the closest byte.
lib/private/helper.php
tests/lib/helper.php