remainder = var1 % var2
Example 1: This example returns the positive remainder in this case both modulo and remainder will be the same as both operands are positive.
"Remainder is 0" "Modulo is 0"
Example 2: This example returns negative remainder as dividend is negative.
Example 3: Remainder with Infinity and NaN
> NaN > NaN > NaN > NaN > NaN > NaN