[Python-Dev] trunc() (original) (raw)

Jeffrey Yasskin jyasskin at gmail.com
Sat Jan 26 23:10:48 CET 2008


On Jan 25, 2008 11:21 PM, Raymond Hettinger <python at rcn.com> wrote:

... int() for making ints from the non-fractional portion of a float.

This interpretation implies that complex should provide float() to return the non-imaginary portion of a complex number. Is that what you intend?

-- Namasté, Jeffrey Yasskin



More information about the Python-Dev mailing list