<p>Am 22.08.2017 00:02 schrieb "James Richters" <<a href="mailto:james@productionautomation.net">james@productionautomation.net</a>>:</p>
<p>The others already wrote about floating point precision, so I won't repeat that.</p>
<p>> The reason I noticed this is because I have some conditional statements like<br>
> If Draw_GX_Min<>99.999 then<br>
> Something....</p>
<p>*DON'T* compare floating point numbers like that. Instead use SameValue() from the Math unit which has an additional epsilon value (with a default value) that defines a lower and upper bound from your desired value to compare to.</p>
<p>Regards,<br>
Sven</p>