method

modulo

v2_4_6 - Show latest stable - Class: Integer
modulo(p1)
public

Returns int modulo other.

See Numeric#divmod for more information.