Mercurial > emacs
comparison lispref/strings.texi @ 35071:bf884d9d7949
Revert last change except for %X.
author | Dave Love <fx@gnu.org> |
---|---|
date | Thu, 04 Jan 2001 21:01:18 +0000 |
parents | 956652ab5efc |
children | dc7cb360c349 |
comparison
equal
deleted
inserted
replaced
35070:94bdeddc5380 | 35071:bf884d9d7949 |
---|---|
670 | 670 |
671 @item %c | 671 @item %c |
672 Replace the specification with the character which is the value given. | 672 Replace the specification with the character which is the value given. |
673 | 673 |
674 @item %e | 674 @item %e |
675 @itemx %E | |
676 Replace the specification with the exponential notation for a floating | 675 Replace the specification with the exponential notation for a floating |
677 point number. @samp{%e} uses lower case @samp{e} for the exponent and | 676 point number. |
678 @samp{%E} uses upper case. | |
679 | 677 |
680 @item %f | 678 @item %f |
681 Replace the specification with the decimal-point notation for a floating | 679 Replace the specification with the decimal-point notation for a floating |
682 point number. | 680 point number. |
683 | 681 |
684 @item %g | 682 @item %g |
685 @itemx %G | |
686 Replace the specification with notation for a floating point number, | 683 Replace the specification with notation for a floating point number, |
687 using either exponential notation or decimal-point notation, whichever | 684 using either exponential notation or decimal-point notation, whichever |
688 is shorter. @samp{%G} uses upper case if an exponent is printed. | 685 is shorter. |
689 | 686 |
690 @item %% | 687 @item %% |
691 Replace the specification with a single @samp{%}. This format | 688 Replace the specification with a single @samp{%}. This format |
692 specification is unusual in that it does not use a value. For example, | 689 specification is unusual in that it does not use a value. For example, |
693 @code{(format "%% %d" 30)} returns @code{"% 30"}. | 690 @code{(format "%% %d" 30)} returns @code{"% 30"}. |