Set Decimals to 18 nVal = 2.05*100 ? nVal && 205.000000000000000000 ? Int(nVal) && 204That's because when numeric values are converted to floating point variables, some values that are simple values in the decimal system, have a repeating fraction when converted into the form mantissa*2^exponent.