method

modulo

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

Returns int modulo other.

See Numeric#divmod for more information.