method

%

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: Numeric
%(p1) public

x.modulo(y) means x-y*(x/y).floor.

Equivalent to num.divmod(numeric)[1].

See Numeric#divmod.

Show source
Register or log in to add new notes.