method

div

v2_4_6 - 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(numeric)[0].

See Numeric#divmod.