[issue39124] round Decimal error

2019-12-23 Thread Adelson Luiz de Lima
Adelson Luiz de Lima added the comment: Thanks for the quick response. I try the follow code in python 3.7: round(9.925, 2) => 9.93 round(Decimal('9.925'), 2) => Decimal('9.92') I do not understande why behavior of float is diferrent of the Decimal. In python

[issue39124] round Decimal error

2019-12-23 Thread Adelson Luiz de Lima
New submission from Adelson Luiz de Lima : When I round this: round(Decimal('9.925'), 2), in Python 3.7.5 the result is Decimal('9.92'), but in Python 2.7.17 is 9.93 -- messages: 358814 nosy: adelsonllima priority: normal severity: normal status: open title: roun