mirror of
https://github.com/python/cpython.git
synced 2025-10-29 09:29:26 +00:00
Typo repair.
This commit is contained in:
parent
d916142343
commit
74979664d0
1 changed files with 1 additions and 1 deletions
|
|
@ -5486,7 +5486,7 @@ While pathological cases do exist, for most casual use of
|
||||||
floating-point arithmetic you'll see the result you expect in the end
|
floating-point arithmetic you'll see the result you expect in the end
|
||||||
if you simply round the display of your final results to the number of
|
if you simply round the display of your final results to the number of
|
||||||
decimal digits you expect. \function{str()} usually suffices, and for
|
decimal digits you expect. \function{str()} usually suffices, and for
|
||||||
finer control see the discussion of Pythons's \code{\%} format
|
finer control see the discussion of Python's \code{\%} format
|
||||||
operator: the \code{\%g}, \code{\%f} and \code{\%e} format codes
|
operator: the \code{\%g}, \code{\%f} and \code{\%e} format codes
|
||||||
supply flexible and easy ways to round float results for display.
|
supply flexible and easy ways to round float results for display.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue