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. Link to comment https://forums.phpfreaks.com/topic/90718-quick-easy-math-condition-for-meathod/ 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 Link to comment https://forums.phpfreaks.com/topic/90718-quick-easy-math-condition-for-meathod/#findComment-465017 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.