Let's do the math....
GalUse = 1600 - 1475 'which equals 125, this is fine
MPG = 3280/125 'which equals 26.24 and the .24 is lost because PBP doesn't handle floating point. Therefore in your debug statement MPG/100 is equal to 26/100 which is less than 0 and is displayed as 0. DEC2 MPG displays 26 which is correct.
Peter
Bookmarks