Math.mod

From Data Realms Wiki

Revision as of 19:13, 15 March 2009 by Spacepope (Talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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