Flowdock
method

%

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

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

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

See Numeric#divmod.

Show source
Register or log in to add new notes.