Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdb99f1 commit aa63c4dCopy full SHA for aa63c4d
1 file changed
Lib/decimal.py
@@ -31,7 +31,8 @@
31
useful for financial applications or for contexts where users have
32
expectations that are at odds with binary floating point (for instance,
33
in binary floating point, 1.00 % 0.1 gives 0.09999999999999995 instead
34
-of the expected Decimal('0.00') returned by decimal floating point).
+of 0.0; Decimal('1.00') % Decimal('0.1') returns the expected
35
+Decimal('0.00')).
36
37
Here are some examples of using the decimal module:
38
0 commit comments