Quote:
Originally Posted by CoasterFuelPhil
I am having trouble with multiplying numbers and stuff. the numbers cannot be an int because we need it very precise.
|
How precise do you need this number?
If you need it in thousandths, just multiply everything by 1000 first, then deal with the decimal shift later. That way you can use only integer math and keep your precision. Remember, you only get a byte of resolution to drive your motors..