[haiku-commits] Re: haiku: hrev48768 - src/kits/shared

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 04 Feb 2015 11:17:25 +0100

Am 04.02.2015 um 08:25 schrieb pulkomandy@xxxxxxxxxxxxx:
eca5549602dc: StringForRate: change the threshold for unit change.

   We would show "1Mbps" for 1.0 to 1.9 actual speed, which made this not
   so helpful. Instead, switch to Mbps when reaching 10000 Kbps. So we show
   "1000 Kbps" or 1900Kbps" in the mentionned situation, and up to "9999
   Kbps" (note this is still only 4 digits, so it stays readable). We then
   switch to "10 Mbps", which is still only withing 12% of the actual speed
   (but better than the previous error of up to 50%).

Why not simply allow for showing fractions?

Bye,
   Axel.

Other related posts: