Floats are single precision, which is about seven digits.
Displayed values, or floats converted to strings, are rounded to six digits.
This doesn't change A,B, or C. It is only the display which is rounded. But note that floats rarely have the exact value you wish they had.
Displayed values, or floats converted to strings, are rounded to six digits.
A# = 12.345653 B# = 12.345670 C# = A# + B#So A and B are rounded to 12.3457 when displayed. C will be very close to 24.691323 and will display as 24.6913 with six digit rounding.
This doesn't change A,B, or C. It is only the display which is rounded. But note that floats rarely have the exact value you wish they had.
x# = 0.1 ; x is not exactly 0.1 as there is no such floating point number. Print x ; Looks good so far. x = 1024.0 * x Print x ; Still looks good. x = x - 102.0 Print x ; Hoping for 0.4, but we are disillusioned. WaitKey : End