1 | initial version |
You could use python's string formatting to print numbers in scientific notation:
sage: n = 215.685
sage: print "my number is %e"%n
my number is 2.156850e+02
sage: print "my number is %E"%n
my number is 2.156850E+02
Is that the kind of thing you're looking for?