mod

Return the remainder of integer division.


Synopsis

modval = mod(p0, p1)


Description

mod returns the result of the operation p0 mod p1 (otherwise known as: p0 % p1). mod converts both params to integers.

The wrap command apparently does the same thing.


Arguments


Examples

   modout = mod(3, 12)

See Also

abs, log, pow, max, min, round, trunc, wrap