Home » Community » Newbie corner » Formatting text with percent sign
Formatting text with percent sign [message #49887] |
Tue, 29 May 2018 13:35  |
Tom1
Messages: 1305 Registered: March 2007
|
Ultimate 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: Sun Aug 24 19:59:43 CEST 2025
Total time taken to generate the page: 0.07071 seconds
|