On Jan 4, 2008 11:14 AM, Jeffrey Yasskin <[EMAIL PROTECTED]> wrote: > On Jan 4, 2008 4:40 AM, Facundo Batista <[EMAIL PROTECTED]> wrote: > > Do you mean that the response in the following case is of type "float"?: > > > > >>> round(decimal.Decimal("2.5")) > > 3.0 > > Yes. >
That seems a little peculiar to me: wouldn't it be more natural to have round(Decimal_instance) return another Decimal? Mark
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com