Core: Doc: Added documentation about escaping percent symbol in format. Thanks Tom1!

git-svn-id: svn://ultimatepp.org/upp/trunk@11967 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
klugier 2018-05-31 17:13:45 +00:00
parent 944db54c3e
commit bfe3734d00

View file

@ -1,5 +1,4 @@
topic "Format - text formatting";
[2 $$0,0#00000000000000000000000000000000:Default]
[i448;a25;kKO9;2 $$1,0#37138531426314131252341829483380:class]
[l288;2 $$2,0#27521748481378242620020725143825:desc]
[0 $$3,0#96390100711032703541132217272105:end]
@ -9,6 +8,7 @@ topic "Format - text formatting";
[l288;i1121;b17;O9;~~~.1408;2 $$7,0#10431211400427159095818037425705:param]
[i448;b42;O9;2 $$8,8#61672508125594000341940100500538:tparam]
[b42;2 $$9,9#13035079074754324216151401829390:normal]
[2 $$0,0#00000000000000000000000000000000:Default]
[{_}%EN-US
[ {{10000@(113.42.0) [s0; [*@2;4 Format `- text formatting]]}}&]
[s0;*@3;4 &]
@ -282,6 +282,8 @@ default `= 6)]
:: [s0;%- 123]
:: [s0;%- Format(`"[* %2!,n]`", 123)]
:: [s0;%- 123.00]
:: [s0;%- Format([* `"% %%%%`"], 12.3)]
:: [s0;%- 12.3 %]
:: [s0;%- Format(`"[* %ne]`", 1234567.89)]
:: [s0;%- 1234567.89]
:: [s0;%- Format(`"[* %nf]`", 1234567.89e30)]