From 454816d8bdd6ec9bb986aa31760518e622dc1ea7 Mon Sep 17 00:00:00 2001 From: Eric Smith Date: Thu, 17 Jul 2008 17:48:39 +0000 Subject: Issue 3382: Make '%F' and float.__format__('F') convert results to upper case. --- Doc/library/string.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Doc/library/string.rst') diff --git a/Doc/library/string.rst b/Doc/library/string.rst index 0e345e38de..cb9cf93b66 100644 --- a/Doc/library/string.rst +++ b/Doc/library/string.rst @@ -429,13 +429,14 @@ The available presentation types for floating point and decimal values are: | ``'e'`` | Exponent notation. Prints the number in scientific | | | notation using the letter 'e' to indicate the exponent. | +---------+----------------------------------------------------------+ - | ``'E'`` | Exponent notation. Same as ``'e'`` except it uses an | - | | upper case 'E' as the separator character. | + | ``'E'`` | Exponent notation. Same as ``'e'`` except it converts | + | | the number to upper case. | +---------+----------------------------------------------------------+ | ``'f'`` | Fixed point. Displays the number as a fixed-point | | | number. | +---------+----------------------------------------------------------+ - | ``'F'`` | Fixed point. Same as ``'f'``. | + | ``'F'`` | Fixed point. Same as ``'f'`` except it converts the | + | | number to upper case. | +---------+----------------------------------------------------------+ | ``'g'`` | General format. This prints the number as a fixed-point | | | number, unless the number is too large, in which case | -- cgit v1.2.1