Quote:
|
Originally Posted by sciguy125
The more efficient way (because floating point takes more processor instructions) would be to multiply everything by some factor of 10. ie, your 2/1000 would be 2 if you multiplied everything that uses that number by 1000.
|
This is precisely how the code works. Those variables aren't in units of seconds, but in timer ticks. Each tick counts as 100 ns of elapsed time.
-Kevin