mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Fix markup
This commit is contained in:
parent
0cd717007d
commit
5111c522e7
1 changed files with 1 additions and 1 deletions
|
@ -1560,7 +1560,7 @@ throughout an application?
|
||||||
A. Some operations like addition, subtraction, and multiplication by an integer
|
A. Some operations like addition, subtraction, and multiplication by an integer
|
||||||
will automatically preserve fixed point. Others operations, like division and
|
will automatically preserve fixed point. Others operations, like division and
|
||||||
non-integer multiplication, will change the number of decimal places and need to
|
non-integer multiplication, will change the number of decimal places and need to
|
||||||
be followed-up with a :meth:`quantize` step.
|
be followed-up with a :meth:`quantize` step::
|
||||||
|
|
||||||
>>> a = Decimal('102.72') # Initial fixed-point values
|
>>> a = Decimal('102.72') # Initial fixed-point values
|
||||||
>>> b = Decimal('3.17')
|
>>> b = Decimal('3.17')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue