method

remainder

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

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

See Numeric#divmod.