Is it possible to set for float precision of 50, but to cut trailing zeros for finite decimals?a=Float('0.5',prec=50)print a/7Output: 0.071428571428571428571428571428571428571428571428571a=Float('0.5',prec=50)print aOutput: 0.50000000000000000000000000000000000000000000000000 (but I want a)For latex correct output is 0.5But how to print 0.5 instead of 0.5 with many trailing zeros?
--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/cbd44009-2081-4bfb-9c20-330afbcb15ad%40googlegroups.com.