Can someone help me with this type casting problem? I've tried to simplify it as much as possible.
int rd, width
float scd, blw;
blw = (float) rd/width;
scd = (int) blw*100;
blw equals 0.7000 according to the program.
scd should equal 70 but the program returns 69.