Can someone help me with this type casting problem? I've tried to simplify it as much as possible.

For example:
int rd, width
float scd, blw;


rd=7;
width=10;
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.

Any suggestions?