Skip to content

Comment on Rounding Percentages

Comments

Is it actually done? Or did it download 999/1000 bytes and then hang?

The label on the progress bar should be "12345 out of 23456 files copied" and not 53% for this reason.

That way you can see if it hanged even if the progress is very slow.

Besides - the percentage label is redundant - the bar shows it graphically anyway.

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.