In decimal floating point, 0.1 + 0.1 + 0.1 - 0.3 is exactly equal to zero. ... Decimal(18).remainder_near(Decimal(10)) Decimal('-2') > ...
確定! 回上一頁