method
div
v1_9_3_392 -
Show latest stable
- Class:
Numeric
div(p1)public
Uses / to perform division, then converts the result to an integer. numeric does not define the / operator; this is left to subclasses.
Equivalent to num.divmod(aNumeric)[0].
See Numeric#divmod.