[issue1559] round() does not

2007-12-05 Thread travelgirl
New submission from travelgirl: http://docs.python.org/tut/node5.html states, as an example, round(_, 2) should round to the second decimal place. makes sense. when i attempted it with different numbers, round() returned what looks like a binary-coded decimal error (see the jpg enclosed), and

[issue1559] round() does not

2007-12-05 Thread travelgirl
travelgirl added the comment: interesting, and expected as the BCD calculation. however, the round function should be able to handle that correctly, dealing with the number in a string fashion as opposed a mathematical one, to display the requested decimal places. slower, to be sure, but