Hello everybody !

I just discovered this very nice feature :

sage: QQ(1.5)
3/2

It is quite cool to get the rational associated with a float ! LP solvers
often give such output.

This being said, the following is... Well... :-)

sage: QQ(0.3)
3/10
sage: QQ(0.33)
33/100
...
sage: QQ(0.33333333333333333333333333)
25790417485112089060398421/77371252455336267181195264

Is there any way to get a "1/3" there ? :-)

Thanks !

Nathann

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to