First time here? Check out the FAQ!
answered 9 years ago
You can look at the no_sci option of the str method of a floating-point number:
no_sci
str
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?
a.str?