hi tim, eni
"Tim Blechmann" wrote:
no, because there is no possibility to encode 0.4 as a floating point number without rounding ... an equality test only makes sense, if a number can be encoded as floating point number and it's sure, you're experiencing rounding problems ...
of course, it is a rounding problem. but the fact, that some objects in some cases are rounding up ([print], [numberbox], [msgbox]) and others down ([int]) makes the story more complicated, see attached patch. it could be annoying sometimes, since represantion differs from effective values. what is a good solution for handling with this? insert a [+ 1e-006]?
roman