in reply to Re^2: finding multiples of two values
in thread finding multiples of two values
The . - test is ok for beginners who are doing their first programming steps, but I agree that it isn't good for productional software.
Besides the module way, I prefer the $X == int($X) - which also works for 1.2e40