I think it's a bug with the printer. S(0.06).round(1) == 0.1 gives True. Can you open an issue for it?
Aaron Meurer On Tue, Sep 2, 2014 at 7:28 AM, Duane Nykamp <[email protected]> wrote: > Is this the intended result of rounding to one decimal place? Sympy needs > to go back to school on rounding. :) > > In [13]: S(0.06).round(1) > Out[13]: 0.e-1 > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > 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/e363eaad-720d-4fe6-8bce-06bafe431c3a%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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 [email protected]. To post to this group, send email to [email protected]. 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/CAKgW%3D6%2BEg2XPPWxadaWDan7VLNsqVnc1UrVgoretavF8oiZQRg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
