Get the latest tech news
Rounding Percentages
percentages Tavian Barnes Let's say you're downloading a file and you see this: How do you know the download actually started? Similarly, if you see this: Is it actually done? Or did it download 999/1000 bytes and then hang? I know this is a relatively minor thing, but I find myself frustrated by UIs like this so often that I'm proposing these rules for rounding percentages that are shown to users: - 0% means exactly zero percent. If the user sees 0%, they can assume that absolutely nothing has happened yet except rendering the progress bar.
I know this is a relatively minor thing, but I find myself frustrated by UIs like this so often that I'm proposing these rules for rounding percentages that are shown to users: If the user sees 0%, they can assume that absolutely nothing has happened yet except rendering the progress bar. There's also a neat trick with floating point: the default rounding mode is typically ties-to-even.
Or read this on Hacker News