decimal and trunkating

Timothy Smith timothy at
Thu Jun 2 11:59:08 CEST 2005

i want to trunkate 199.999 to 199.99
getcontext.prec = 2 isn't what i'm after either, all that does is E's 
the value.
do i really have to use floats to do this?

More information about the Python-list mailing list