"Reinhold Birkenfeld" <[EMAIL PROTECTED]> wrote in
message news:[EMAIL PROTECTED]
> Peter Hansen wrote:
> > Reinhold Birkenfeld wrote:
> >> He is speaking of Decimals...
> >>
> >> d = Decimal("199.999")
> >> d._round(5, decimal.ROUND_DOWN)
> >
> > Is one really supposed to call the underscore methods like that?
>
> Umm... no, I think not ;) But I couldn't find something better.
>
> Reinhold

I'm new to Python ... and I've used decimal._round() as above. What's the
deal with using underscore methods? (A link will do if that'll save you some
typing).



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to