Message361544
Agreed that this seems surprising.
@Vedran: Trailing zeros in a Decimal object are significant, so `Decimal("2.0")` and `Decimal("2.00")` are different (equal, but different). The rules about the "ideal exponent" of the result of an arithmetic operation are well-specified. In this case, the spec is clear that the answer should be `Decimal("2")`, and not `Decimal("2.0")` or `Decimal("2.00")`, or .... |
|
Date |
User |
Action |
Args |
2020-02-07 08:50:47 | mark.dickinson | set | recipients:
+ mark.dickinson, tim.peters, veky, BTaskaya |
2020-02-07 08:50:47 | mark.dickinson | set | messageid: <1581065447.34.0.151467782709.issue39576@roundup.psfhosted.org> |
2020-02-07 08:50:47 | mark.dickinson | link | issue39576 messages |
2020-02-07 08:50:47 | mark.dickinson | create | |
|