• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

vilkoivshchi

Recruit
Jun 23, 2021
1
0
Hello Hello.
I write a tiny mod, need to calculate Service building capacity by formulas from Cities WiKi:

But I get wrong values by this formulas. e.g.: Elementary school have base capacity is 300 persons (at 100% of the budget). If I set Budget to 50%, I get 75 persons, it's okay. If I set 53%, I get 84.27 (round to 84) persons. And when I open Elementary school properties, I see 87 persons!
How I can get actual value?

unfortunately, I can't post my code here. Forum think it's spam((
 
Last edited: