The divisibility trick is valid for integers not for decimals.
What if someone trish checks this:
123.120
It ends with an insignificant zero.
So, 123.12 / X and 123.120 / X gives the same result. The same for 123.12% X and 123.120% X (This is the last invalid action, since the value is not an integer, therefore it cannot get a module with a float / number)
The module can be obtained only for integer values (integer / integer).
And also someone might try to find:
AnyTextWithNumbersNotEndingOnZero_0 <--- Not valid AnyTextWithNumbersNotEndingOnZero <--- Valid
So, better than something more clear like this:
/[0-9]*0$/
Hope helps.
Oh! and if you want letters and numbers, but the latter should not be zero:
/[0-9A-Za-z]*0$/
etc.
source share