is_divisible

is_divisible($number, $by_number)

  • $number: number to check.
  • $by_number: number to check if is divisible by.

Returns true if the number is divisible, false if is not.

Comments

Leave a Reply