method

remainder

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

If num and numeric have different signs, returns mod-numeric; otherwise, returns mod. In both cases mod is the value num.modulo(numeric). The differences between remainder and modulo (%) are shown in the table under Numeric#divmod.