Flowdock
method

rationalize

Importance_1
v1_9_3_125 - Show latest stable - 0 notes - Class: Complex
rationalize(p1 = v1) public

If the imaginary part is exactly 0, returns the real part as a Rational, otherwise a RangeError is raised.

Show source
Register or log in to add new notes.