Is it possible to show integer from string?
PHP Code:
Sorry if the title is wrong! |
Re: It is possible to show integer from string?
Yes, you can.
PHP Code:
|
Re: It is possible to show integer from string?
Quote:
|
Re: It is possible to show integer from string?
Then, maybe I misunderstood you. Actually, what you want to do?
|
Re: It is possible to show integer from string?
Quote:
formatex(text, charsmax(text), str, integer) |
Re: It is possible to show integer from string?
Quote:
Then, is it right, if I do such below? PHP Code:
|
Re: It is possible to show integer from string?
looks right, did you try it?
|
Re: It is possible to show integer from string?
I have tested the code and it is working fine. Below is test code:
PHP Code:
|
Re: It is possible to show integer from string?
zmd94, that code is totally fine.
FYI, you can do this instead of the "%s", as long as the variable you are passing is a string: PHP Code:
|
Re: It is possible to show integer from string?
I don't know that, Bugsy. I appreciate it as I'm also still learning. ;)
|
| All times are GMT -4. The time now is 15:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.