method

quo

ruby latest stable - Class: Numeric
quo(p1)
public

Returns the most exact division (rational for integers, float for floats).