Ask Your Question

Revision history [back]

Like this:

sage: QQ(1.5)
3/2

because QQ stands for the:

sage: QQ
Rational Field