255/7 =36 and 5/7ths. As the result is being stored in an 8 bit int, does it get rounded up/down before storage or what? I may need to do this sort of division, but don't need the fractional part for my programme, only the int, as it will be controlling the speed of a motor which doesn't need to be highly accurate.