Support | News | Classic | F.A.Q. | Discord | Discussions | Wiki | Roadmap

Using modular parts especially applying various calculations the rounding of buffs to percentage integers is not fine grained enough. So I would like to suggest allowing up to three digit precision for buffs. For example 0.001% precision.

    mmm floating point errors

      I assume you're just talking about the text that's printed. (The actual buff value is calculated to full 32-bit float precision.) You just need to change the BuildBox/BuffPercentageFmt key to BuffPercentageFmt = "<good>+{0:0.###}%</good>".

        No, that's not it. The rounding problem I see was within the part debugger, though.

          Lafiel The part debugger rounds to 2 decimal places when displaying the buff value, but the actual value is calculated to full 32-bit float precision.

          Write a Reply...