In VB6 or VBA, have you ever seen this formula
r = n - Int(n / 2) * 2
gives you the value of r as a negative number such as -1?
You may know that if n is Integer or Long, the above formula equivalent with
r = n Mod 2
|
Results 1 to 8 of 8
Threaded View
|
Click Here to Expand Forum to Full Width |