method

new!

v1_8_7_72 - Show latest stable - Class: Rational
new!(num, den = 1)
public

Implements the constructor. This method does not reduce to lowest terms or check for division by zero. Therefore #Rational() should be preferred in normal use.