Math.mod

From Data Realms Wiki

Jump to: navigation, search

Return the remainder of a division.

EX: math.mod(16,5) = a a = 1

Explanation :

Math.mod computes the nearest integer solution of the division (in this case 15) and deducts the remainder (1).

Personal tools