Created attachment 5645
Always report 2 decimal places when data speed is >=1MiB/Sec
Based off Debian package v1.2.0-1.
I have had a VDSL2 connection for a few years now, and often see speeds of >1MiB/Sec. With the current code, the speed is rounded to the nearest MiB - this kills off too much detail for me.
The attached patch is a simple way for me to get back at that detail - when format_byte_humanreadable is called, it is passed small (<1MiB) and large number digit values, and displays the relevant number of digits as appropriate.
Personally once MiB speeds are reached, I always want 2dp of detail. Are there any changes I should make with this patch?
git commit c7b9a893a3792ca9c6203a27b1fe6c78111b15ac