Ask Your Question

Revision history [back]

You can look at the no_sci option of the str method of a floating-point number:

sage: a = 1/(2^70).n()
sage: a
8.47032947254300e-22
sage: a.str(no_sci=2)
'0.000000000000000000000847032947254300'

To get the doc of the str method, you can do a.str?