Razor-qt / razor-qt

Razor is now LXQt:
http://lxqt.org
Other
366 stars 78 forks source link

Mounted device has size decimals equal to zero #522

Closed diggit closed 11 years ago

diggit commented 11 years ago

Mount plugin reports size of FS as decimal but it is (at output looks like) integer with zero after decimal point. Size is every time roundend down. Eg. device has 3.9 GB, reported size 3.0 GB and so on. At MBs it is not so important, but when USB Flash key has 2GB, in GiB is it a bit less,then float is 1,9GB and reported size is 1.0GB. Almost 50% deviation (is that correct word?) Such information could be confusing.

Comparison with information from qtFM: comparison2

amoskvin commented 11 years ago

Fixed in master.

On Thursday 03 January 2013 11:08:00, Patrik Bachan wrote:

Mount plugin reports size of FS as decimal but it is (at output looks like) integer with zero after decimal point. Size is every time roundend down. Eg. device has 3.9 GB, reported size 3.0 GB and so on. At MBs it is not so important, but when USB Flash key has 2GB, in GiB is it a bit less,then float is 1,9GB and reported size is 1.0GB. Almost 50% deviation (is that correct word?) Such information could be confusing.

Comparison with information from qtFM: comparison2


Reply to this email directly or view it on GitHub: https://github.com/Razor-qt/razor-qt/issues/522