Reply To: Modulo Different in 4.2.2

Forum Archive Modulo Different in 4.2.2 Reply To: Modulo Different in 4.2.2

#90365
Martin Bergwerf
Participant

    Hi @aaronstarlin ,

    Yes, the Modulo is still needed.

    The difference is, that the result gets either ‘Floored’ or ‘Truncated’. This only makes a difference if the result of the Modulo is negative.

    For instance: -2.71828…Truncated is -2 (get rid of everything after the decimal point), while -2.71828… Floored is -3 (the highest integer smaller than, or equal to).

    The Modulo itself still works in the exact same way and in this case, the result is always an Integer anyway, so it doesn’t matter which one you use.