Page 1 of 1

[2.0.14] Yumako & Jelly spoils in 1h17m59s instead of 1h18m

Posted: Sun Nov 03, 2024 1:29 pm
by Brambor
I believe this number is supposed to be 1h18m, not 1h17m59s
11-03-2024, 14-27-49.png
11-03-2024, 14-27-49.png (138.06 KiB) Viewed 445 times

Re: [2.0.14] Yumako & Jelly spoils in 1h17m59s instead of 1h18m

Posted: Tue Nov 05, 2024 10:25 pm
by Brambor
There is another one.
11-05-2024, 23-01-12.png
11-05-2024, 23-01-12.png (73.18 KiB) Viewed 344 times
In these cases, I recommend rounding to 3 decimals since two decimals are often shown, this would solve only those cases. Unless this is a deeper bug with Factorio floating point™ numbers.

Re: [2.0.14] Yumako & Jelly spoils in 1h17m59s instead of 1h18m

Posted: Tue Nov 05, 2024 10:36 pm
by Rseding91
Thanks for the report. These numbers are auto generated for a given entity using simple math and then output to the GUI in a general formatted way. We don’t round up or down for the display and simply let the number format logic decide how to do it. In this case this is what we get and it’s deemed good enough.

Maybe some day when we run out of crashes, desync. And game features not working correctly someone will decide they want to poke at the logic and change how the numbers show.

Re: [2.0.14] Yumako & Jelly spoils in 1h17m59s instead of 1h18m

Posted: Thu Nov 07, 2024 4:16 pm
by Muche