PDA

View Full Version : is divisible by....


Jolten
07 Nov 2005, 21:19
How can I code a line and use a function like "is divisible by"?

Something like this:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



thanks

noppid
07 Nov 2005, 21:27
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



http://www.w3schools.com/php/php_operators.asp

Jolten
07 Nov 2005, 21:30
Thank you!

So I understand... basically it's if $a is NOT a multiple of 4 then.... Is that correct? Just want to understand the underlying code.