[Python-3000] Rounding in Py3k (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Fri Aug 4 03:51:25 CEST 2006
- Previous message: [Python-3000] Rounding in Py3k
- Next message: [Python-3000] Rounding in Py3k
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Nick Coghlan wrote:
Would it be worthwhile to design a common rounding mechanism that can be used to cleanly round values to the built in floating point type, as well as being able to access the different rounding modes for decimal instances?
Sounds like a job for a new protocol, such as round(self, mode, places).
-- Greg
- Previous message: [Python-3000] Rounding in Py3k
- Next message: [Python-3000] Rounding in Py3k
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]