e.g.
Deleted my misleading post. Floating point mantissa is 23 bits so 12345678 will not fit hence loss of precision.
The highest integer that can be represented exactly by an IEEE 754 float is 16,777,216.
Your integer of 12,345,678 is simply too large to be exactly represented by a floating point data type, and will be effectively represented as 1.234568x10^7
Glitch in the matrix. Have edited my post (twice, in fact )Umm since when is12,345,678 greater than?
16,777,216
Hi,
Anyone who understands this issue...
I try to convert 12345678 DINT to REAL
And I get
12345680,0 in REAL ????
Commas as decimal places are quite common in Europe. Or more to the point (excuse the pun), the "," symbol is the decimal separator, and in some cases, the "." symbol is used to separate the thousands in a long number, the way the USA does with the "," symbol.OT: do we call that thing between the zeros a "decimal comma?"
Interestingly, their very own conversion block gets it right: