Marshall Hampton wrote:
> There are a number of interact examples on the wiki (such as the Gram-
> Schmidt one at http://wiki.sagemath.org/interact/linear_algebra) that
> work around this problem by casting to a field of low precision, for
> example doing something like
> 
> latex(RealField(8)(0.6))
> 
> produces "0.60".


You can also use the n function:


sage: b=RR(1)
sage: b
1.00000000000000
sage: b.n(digits=3)
1.00
sage: latex(b.n(digits=3))
1.00


Jason


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to