[Python-Dev] Return type of round, floor, and ceil in 2.6

Oleg Broytmann phd at phd.pp.ru
Sat Jan 5 20:58:11 CET 2008


On Sat, Jan 05, 2008 at 05:35:45PM -0200, Facundo Batista wrote:
> 2008/1/5, Art Rasmussen <techdir at emailbins.com>:
> > Added Python to the referenced article (because I believe Python
> > should be seen everywhere C#, PHP, Visual Basic, etc., are seen).
> > Please let me know if the article needs updating/fixing.
> 
> Well, don't know.
> 
> It talks about the rounding in Python, but mentioning only the binary
> floating point. In Decimal you have a lot of different roundings
> available... it's worth to mention them?

   IMO it's worth to mention the existing of them, briefly.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.


More information about the Python-Dev mailing list