PEP proposal for round(x,n) enhancement

Markus Schaber markus at schabi.de
Mon Sep 17 18:02:42 CEST 2001


Hi,

Tim Peters <tim_one at email.msn.com> schrub:

> BTW, complex numbers still have no meaning to round(), so you could
> use round(x, 3j) to mean "round to 3 significant digits" <wink>.

Ouch.

This "solutions" needs rather complex programmer brains :-)

markus

-- 
"The strength of the Constitution lies entirely in the determination of 
each citizen to defend it. Only if every single citizen feels duty 
bound to do his share in this defense are the constitutional rights 
secure." -- Albert Einstein



More information about the Python-list mailing list