Page 1 of 1

[2.0.77] Factoriopedia entry for Fusion Generator has floating point errors.

Posted: Sat Jul 18, 2026 11:23 am
by mathsboy314
Open the Factoriopedia entry for the Fusion Generator.
Hover your cursor over the blue diamond next to "Consumption: 2/s".
This should show the consumption rate of higher quality fusion generators.
Observe that the value of Uncommon is 2.59999/s instead of 2.6/s, and Epic is 3.79999/s instead of 3.8/s.
07-18-2026, 21-10-53.png
07-18-2026, 21-10-53.png (334.06 KiB) Viewed 155 times

Re: [2.0.77] Factoriopedia entry for Fusion Generator has floating point errors.

Posted: Mon Jul 20, 2026 1:21 pm
by Rseding91
Thanks for the report however I don't believe we will be doing anything about this. The generic tooltip logic asks for a value to be shown and converts it to a string. In this case the value ends up 2.6 and 3.8 neither of which are representable as binary floating point numbers and so are actually 2.59999998~ and 3.79999998~ which gets converted to the string you see. I have no interest in chasing every one of these values in GUIs and trying to floor, round, or truncate them for display.