Modulo Operator (%)

If you want to find the remainder of a division, you can use the percentage sign "%" to find it

log 10 % 3
// does a division and returns the remainder of the division
// this is doing 10 / 3 and returning the remainder "1"

Last updated