Message365869
@Steven Yes that's true, I only meant that in the context of the issue where only the multiplication is used. FWIW Fraction also would have issues with e.g. trigonometric functions right?
@ahmad, that's because you did Decimal(4.6) which first parse 4.6 as a float then call Decimal() with the result. You need to use Decimal('4.6') to avoid the parser reading 4.6 as a float. Have a look at the tutorial Eric Smith linked, the documentation of decimal and the response from Steven D'Aprano for more information. |
|
Date |
User |
Action |
Args |
2020-04-06 16:08:25 | remi.lapeyre | set | recipients:
+ remi.lapeyre, eric.smith, steven.daprano, ahmad dana |
2020-04-06 16:08:25 | remi.lapeyre | set | messageid: <1586189305.3.0.501167285768.issue40206@roundup.psfhosted.org> |
2020-04-06 16:08:25 | remi.lapeyre | link | issue40206 messages |
2020-04-06 16:08:25 | remi.lapeyre | create | |
|