Even if in my example is immediate, I would like to have a ready to use function for my young students. I just want to know if I have to write or not such a function.
Le dimanche 14 septembre 2014 12:01:28 UTC+2, projetmbc a écrit : > > Hello. > > Is there a ready ti use function that can give a truncated version of the > representation in base 2 of a decimal number ? > > This is only to explain why print(0.1 + 0.3) fails with Python3. > > Christophe > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.