mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-07 12:59:26 +00:00
(Formatting Strings): Document '+' flag.
This commit is contained in:
parent
01769a7373
commit
3c031bca59
@ -887,9 +887,11 @@ specification characters.
|
||||
Immediately after the @samp{%} and before the optional width and
|
||||
precision, you can put certain ``flag'' characters.
|
||||
|
||||
A space character inserts a space for positive numbers (otherwise
|
||||
nothing is inserted for positive numbers). This flag is ignored
|
||||
except for @samp{%d}, @samp{%e}, @samp{%f}, @samp{%g}.
|
||||
A space character inserts a space for positive numbers, a plus character
|
||||
inserts a plus sign (otherwise nothing is inserted for positive
|
||||
numbers). These flags are ignored except for @samp{%d}, @samp{%e},
|
||||
@samp{%f}, @samp{%g}, and if both flags are present the space is
|
||||
ignored.
|
||||
|
||||
The flag @samp{#} indicates ``alternate form.'' For @samp{%o} it
|
||||
ensures that the result begins with a 0. For @samp{%x} and @samp{%X}
|
||||
|
Loading…
Reference in New Issue
Block a user