narc0tiq / evoGUI

A Factorio mod to add a GUI with the biter evolution factor and the current play time. Purely informative.
https://mods.factorio.com/mods/Narc/EvoGUI
MIT License
37 stars 12 forks source link

Zero-pad the fractional component of the four-digit evolution factor. #52

Closed narc0tiq closed 8 years ago

narc0tiq commented 8 years ago

Via https://forums.factorio.com/viewtopic.php?p=136685#p136685:

If percent_evo_factor is 1.0215 then fractional_component is 215 and the string.format shows an obviously wrong number.