Ad
  • Custom User Avatar

    @Chrono79 the logic is wrong. If 0.4 represents a baby, then even if you don't count it NOW, you must count it once it reaches 1.0. By rounding down, you're literally eliminating real values—and that's incorrect.

    If you want to round down, I see two options:

    1. set the decimal value to the side, to be factored in when the algorithm raises it to a whole number, or
    2. round down or up to the nearest whole number once—at the very end—because the decimals don't ACTUALLY represent babies, but it does represent REAL growth