Quantcast
Channel: Forums, Blogs, Wikis » Coding
Viewing all articles
Browse latest Browse all 10

isDivisible function for PHP

$
0
0
A quick function to check if a number is divisible by another. PLAIN TEXT PHP: function isDivisible($number, $divisibleBy)     {     if ($number % $divisibleBy == 0)         return true;     return false;     }

Viewing all articles
Browse latest Browse all 10

Trending Articles