How does percentage in CoG work?

As far as I observed, it always seem to round down even if its 0.5-0.9. Also, sometimes a percentage increase doesn’t increase the stat at all, or increases more than expected.

You mean fairmath? Due to the way it works, Fairmath will never increase value beyond 1-99 range, and I think it has innate rounding inside it.

If you want “true calculation,” I suggest sticking with normal numeric operation. Ofc, you have to delicately balance your stat or code a hard-cap on your percent manually.

1 Like

Yup, Fairmath always rounds down. For example, a +10% increase to a score of 91 doesn’t increase that 91 at all as a .9 point increase gets rounded down to 0 leaving the score at 91. Likewise a +5% increase would be unable to raise a score above an 81, a +2% increase would be unable to raise a score above a 51, and a +1% increase would never result in any increase at all to a score of 1 or higher.

3 Likes

Oh I didn’t know they used Fairmath, thanks for the replies!