Check if integer is a multiple of 7

Hi, I have a datatable with various numbers of [Age] column.
If value is a multiple of 7 (eg 7 14 21 28), actions need to be taken, how do I check if it is a multiple of 7?

If your input is array use for each inside,
If (int%7)==0 then it’s is multiple of 7 else it is not

% and == is giving me validation errors.

Hi @inyourgravity

You have to use MOD instead of %

image

Thanks,
Prankur

3 Likes

Instead of % use mod and use singe =