Skip to content

Comment on Rounding Percentagesparent

Comments

Problem is the rounding in the text: 12.1 MB of 12.1 MB downloaded.

You can't see if this is 99% or not.

All digits even become difficult with large numbers: 175.464.272 of 175.484.272 downloaded (i.e. not 100%).

How about "N remaining"? Anything that isn't zero means it's still in progress or stalled. Only abbreviate (via thousands indicators like K, M, G, etc.) when it actually shortens the text meaningfully, so there will be no truncation or rounding toward the end.

Depending on the audience, it could be confusing if you're changing units.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.