- Jan 28, 2007
- 755
- 0
- 71
if i were to find the difference between 2 values of time (in military form) such as 1200 and 1400 and im using the variable type long and then using the absolute value function
long timediff = labs(timeout - timein);
it always returns the difference as 255, can anyone help me out on this?
long timediff = labs(timeout - timein);
it always returns the difference as 255, can anyone help me out on this?
