Page 1 of 1
[2.1.7] Mining productivity tooltip incorrect rounding
Posted: Tue Jun 23, 2026 11:32 am
by Teura
I've mining productivity of 178 researched. This is how it's shown in the tooltip, +1779,99%. Should probably be rounded to whole numbers, like before, so it'd be 1780%.

- 06-23-2026, 14-31-06.png (1.37 MiB) Viewed 442 times
Re: [2.1.7] Mining productivity tooltip incorrect rounding
Posted: Tue Jun 23, 2026 11:49 am
by dupraz
This happens for most (but not all, not sure how to reproduce exactly) effect calculations, including tooltips:

- factorio_1782215220.png (133.04 KiB) Viewed 400 times
This is a regression in how floating points are being used (either internally or for display).