3 ms·
Well that is just normal float fun :) In [17]: Decimal(2.675) Out[17]: Decimal('2.67499999999999982236431605997495353221893310546875') So sort of roun
by zokier 8y ago
Well that is just normal float fun :)
In [17]: Decimal(2.675)
Out[17]: Decimal('2.67499999999999982236431605997495353221893310546875')
So sort of round() is working as expected, but the number you are not inputting is not the one you are expecting.