toRational

toRational :: Real a => a -> Rational
base Prelude