formatByteSize
Formats a byte count for display with the thresholds and digits of Android's Formatter.formatFileSize: decimal units, the next unit once the value passes 900, two fraction digits below 100 and none from 100 up. So 1,500 bytes is "1.50 kB" and 16 GiB is "17.18 GB". The number follows the locale; so does the unit label where the platform can localize it.