Is it possible to display all numbers >= 10^4 (or <= 10^-4) in scientific notation?
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?
Asked: 2011-09-04 01:11:09 -0600
Seen: 1,549 times
Last updated: Sep 04 '11