i'm making a program, i need to know is there a command for "divisible"?

as in

`if m is divisible by n`

if not, is there a command like "if its a whole number"?

as in

`if m is a whole number`

of course i can work with either command,

the second command is basically just the first command:"if m is divisible by 1"

and the first command is basically just the second command:"if m/n is a whole number"