method

remainder

v1_9_3_392 - Show latest stable - Class: Numeric
remainder(p1)
public

x.remainder(y) means x-y*(x/y).truncate

See Numeric#divmod.