First time here? Check out the FAQ!
answered 5 years ago
Like this:
sage: QQ(1.5) 3/2
because QQ stands for the:
QQ
sage: QQ Rational Field