scottybwoy Posted February 12, 2008 Share Posted February 12, 2008 How would I write If (is a multiple of n) Could you explain how it works too, thanks in advance. Quote Link to comment Share on other sites More sharing options...
sasa Posted February 12, 2008 Share Posted February 12, 2008 if(($a % $n) == 0) means $a modulo $n = 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.