On 7/22/10 2:26 PM, tvn wrote:
is there a trick to convert RealLiteral numbers to strings without the trailing zeros? e.g., 2.000000000000 and 0.55550500000 become 2 and 0.555505 respectively --
Also, you could just convert to python floats, which by default don't print trailing zeros (unless it's needed to show a floating point number):
sage: a 2.00000000000000 sage: float(a) 2.0 Thanks, Jason -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
