You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am displaying a transfer speed.
the units counted are bytes, so by default it's bytes/sec
the speed can very between a few kilobytes/s to Gigabytes/s
For the moment I settle on Mbps (mebibit/sec), so I divide by about 2^17.
But if the speed is less than 1Mbps, then it displays zero
and if the seed its > 1Gbps, it's many digits.
Current Problem
I am displaying a transfer speed.
the units counted are bytes, so by default it's bytes/sec
the speed can very between a few kilobytes/s to Gigabytes/s
For the moment I settle on Mbps (mebibit/sec), so I divide by about 2^17.
But if the speed is less than 1Mbps, then it displays zero
and if the seed its > 1Gbps, it's many digits.
Potential Solution or New Behavior
Well, It would be interesting to have a way to provide both the value and unit, something like:
Then it's easy to adapt the whole value + unit in a single result.
Mockups
The text was updated successfully, but these errors were encountered: