Quote:
|
Originally Posted by ImmortalAres
lovely
how do the programmers in FIRST usually get around things like that
(how do they express not whole numbers)
|
The easiest way would be to use floating point numbers. 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.