Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
PHP
check if number is multiple of 3 in php
user57709
Programming language:
PHP
2021-06-30 09:10:04
0
Q:
check if number is multiple of 3 in php
Yoon Moon
Code:
PHP
2021-05-21 21:36:21
You can check simply by using below code: if($num%3==0){ echo "the number is multiple of 3"; }
-1
Tags
number
php
multiple
check
Related
php check if string or number
check if all values in array are equal php
How do i multiple variables in php
is number divisible by 3 php
how to check if PHP variable contains non-numbers?
php number multiple of
check if any values are the same in an array php
php define multiple variables as 0
in array php multiple values
php validate only numbers
php function return multiple values
add two numbers in php
multiple value match in array php
how to check if all values in an array are equal php
get multiple checkbox value in php
php if array has mroe than one subarray
check if array has value php
check if date is within range php
check if string is number or not php
New to Communities?
Join the community