mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Remove duplication.
This commit is contained in:
parent
a5a9a9c369
commit
e130a52d8a
36 changed files with 43 additions and 43 deletions
|
@ -92,7 +92,7 @@ thing in all languages that support your hardware's floating-point arithmetic
|
|||
(although some languages may not *display* the difference by default, or in all
|
||||
output modes).
|
||||
|
||||
For more pleasant output, you may may wish to use string formatting to produce a limited number of significant digits::
|
||||
For more pleasant output, you may wish to use string formatting to produce a limited number of significant digits::
|
||||
|
||||
>>> format(math.pi, '.12g') # give 12 significant digits
|
||||
'3.14159265359'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue