Your last comment is good. Maybe you can use Decimal("1.1") to avoid confusion. Le 28 mars 2014 10:57, "Ralf Stephan" <gtrw...@gmail.com> a écrit :
> On Friday, March 28, 2014 10:39:10 AM UTC+1, projetmbc wrote: >> >> I do not think that is really a convention, but it is very logical >> because 1.1 can also be a float result given by Python. But floats and >> decimals are not the same due to the ways operators act on them. >> > But then it would be more logical to mark the output "1.1" as coming from > a float, ideally giving the precision. But this would clutter the output of > floats. So it is a convention. > > -- > 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. > -- 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.