KM=29
KM1=125

MPH = ((KM*256)+(KM1))*(1006/1619)/100
MPH1=((KM*256)+(KM1))*(1006/1619)//100

LCDOUT $FE, 128, DEC MPH,".",DEC MPH1

It returns a result of 0.0. I'm assuming it does this because the ones place is zero. I can do it the other way where it's 6.21...... but when the PIC does the math, the result is 45.12 MPH when it should be 46.61 MPH. As another example, if KM is 42 and KM1 is 221, the PIC calculates 61.21 MPH and it should be 63.39 MPH. Then if the speed is over 65 MPH, it rolls over due to a word sized variable.

I have two problems but I'm more concerned with the accuracy. Is there a way to get the reading accurate?