Author adelsonllima
Recipients adelsonllima, mark.dickinson
Date 2019-12-23.15:20:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1577114412.82.0.327137304747.issue39124@roundup.psfhosted.org>
In-reply-to
Content
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 2.7 I have the same result: 9.93
History
Date User Action Args
2019-12-23 15:20:12adelsonllimasetrecipients: + adelsonllima, mark.dickinson
2019-12-23 15:20:12adelsonllimasetmessageid: <1577114412.82.0.327137304747.issue39124@roundup.psfhosted.org>
2019-12-23 15:20:12adelsonllimalinkissue39124 messages
2019-12-23 15:20:12adelsonllimacreate