What is Mod 1 ?
looks like mod 1 = 0 for everything!
I give the testing of a number as an integer with Mod 1, a mod 1 rating.
From Wiki:
Code: (Select All)
For i = 1 To 10
MySquareRoot! = Sqr(i)
Print i, MySquareRoot!, MySquareRoot! Mod 1, _IIf((MySquareRoot! Mod 1 = 0), "Integer", "Not Integer")
Next
looks like mod 1 = 0 for everything!
I give the testing of a number as an integer with Mod 1, a mod 1 rating.

From Wiki:
Quote:What is mod 1 in math?
The range of values for an integer modulo operation of n is 0 to n − 1. a mod 1 is always 0. When exactly one of a or n is negative, the basic definition breaks down, and programming languages differ in how these values are defined.
b = b + ...