How to validate if a number is multiple of 0.25

How to validate if a number is multiple of 0.25

  

Probably a stupid question...

To check if an input value is multiple of 0.25 , I'm dividing it by 0.25, and if returns an integer, should be ok.. but I'm struggling at this part.. how can I check if the result is integer or not?

Thank you

Solution

Hi Carolina.

You can easily use the Mod() built-in function for that.

So, if Mod(X, Y) = 0 then X is multiple of Y.

Cheers,

GM

Solution

Yesssss of course!!!

Thank you for helping me on this. I really forgot!

:D