% in string text
Hello,
How can i display "%" in text, when i write % in text with Format, % does not appear. PHP Code:
|
Re: % in string text
Tien :
PHP Code:
|
Re: % in string text
%%
|
Re: % in string text
Quote:
Quote:
It's for Menu & Hud. Thanks in advance |
Re: % in string text
1 Attachment(s)
Sa fonctionne
PHP Code:
http://www.noelshack.com/2015-30-143...7-21-00002.jpg |
Re: % in string text
This was mentioned here many times. The right answer is %%.
Always when the string is formated (Format, FormatEx, PrintTo* functions etc.) it converts %% to %. So, if you format your string twice, you need to use %%%% - first format output is %% and second format output is %. |
Re: % in string text
Ok, good explanation.
I did not know |
Re: % in string text
If you need to print text that you've already formatted, pass it as a String argument to a format-class function.
For example: Code:
char myString[32]; |
Re: % in string text
Quote:
Thanks in advance |
Re: % in string text
It's fix.
Thank to all. |
All times are GMT -4. The time now is 06:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.