Home » Community » Newbie corner » Formatting text with percent sign
Formatting text with percent sign [message #49887] |
Tue, 29 May 2018 13:35 |
Tom1
Messages: 1212 Registered: March 2007
|
Senior Contributor |
|
|
Hi,
Feel like a newbie again... How do I use Format to include a percent sign in text like I did with *printf functions:
*printf("Percentage: %.1f %%",15.5);
Results in: "Percentage: 15.5 %"
This does not work:
Format("Percentage: %.1f %%",15.5);
Results in: "Percentage: 15.5 "
Obviously I wish to format special strings with percentage signs in various places, so just having it follow a value is not sufficient.
Best regards,
Tom
|
|
|
Goto Forum:
Current Time: Thu Apr 18 08:03:21 CEST 2024
Total time taken to generate the page: 0.02096 seconds
|