|
-
Sep 12th, 2005, 02:22 AM
#1
Thread Starter
Addicted Member
what is the equivalent of x mod 2(VB->PHP) [RESOLVED]
can you please translate this one to PHP code..
VB Code:
if (x mod 2) = 0 then
msgbox x mod 2
end if
actually i want to know what is the equivallent for MOD in PHP.. thanks!
Last edited by titan7262; Sep 12th, 2005 at 07:37 PM.
Reason: RESOLVED
-
Sep 12th, 2005, 05:31 AM
#2
PowerPoster
Re: what is the equivalent of x mod 2(VB->PHP)
% is used to represent modulus in C like languages I do believe.
http://au2.php.net/operators.arithmetic
-
Sep 12th, 2005, 07:35 PM
#3
Thread Starter
Addicted Member
Re: what is the equivalent of x mod 2(VB->PHP)
Thanks for the reply i don't know c or other c like languages(yet) heheh thank you so so much!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|