Comment by Georg Damm for You could use python's string formatting to print...
No. I want something like that: sage: x=1.2345678 -> sage: x -> 1.2345678 sage: x = 0.00003 -> sage: x -> 3E-05. Sage print a number x in scientific notation if x>=10^7 or 0
View ArticleComment by Georg Damm for You could use python's string formatting to print...
Maybe the ticket http://trac.sagemath.org/sage_trac/ticket/7682 would resolve the issue?
View ArticleComment by niles for You could use python's string formatting to print...
oh; yes, that ticket might help, but I don't know if conditional formatting is something they're thinking about. If you want to get involved, you could contribute there too :)
View ArticleAnswer by niles for Is it possible to display all numbers >= 10^4 (or...
You could use python's [string formatting](http://docs.python.org/library/string.html) to print numbers in scientific notation: sage: n = 215.685 sage: print "my number is %e"%n my number is...
View Article
More Pages to Explore .....