I'm tearing my hair out (again). This time I will simplify:
I've tried putting (float) all over the division, same result, 0.Code:unsigned short foo1 = 31 ;
unsigned short foo2 = 49 ;
float bar ;
bar = foo1/foo2 ; // I get zero. I want the result to be 0.633...