Created attachment 148051 [details] Screenshot of the "Total CPU usage" widget, showing "100,0%" Since 100% is the absolute maximum, the ",0" does not give any additional information. The benefit from dropping it is having a shorter text, which may better fit into smaller widget and is easier to grasp: 99,9% 100% 100,0%
The code responsible for formatting numbers has no way of determining that 100% is actually the maximum and there is no reason to assume it is, as the same code is used to show things like unscaled process CPU usage. While it's theoretically possible to add that, I don't think it's worth the effort.
> While it's theoretically possible to add that, I don't think it's worth the effort. The caller of the function knows the maximum I suppose, so it would only be needed to be passed with the function call for formatting the numbers, right? IMO it's worth the little effort. :) Would a PR be welcome?