I found that if I take the

NewTime variable, which I read the latest floating point value into from the

XML file, if I modulo it by 1.33, I eventually get 1.33 exact when NewTime

actually sums to 1.33000000000012. I can then check for the modulo value to

get the desired result. Thanks for your help all!!

"Hans Kesting" wrote:

See

http://www.yoda.arachsys.com/csharp/floatingpoint.html

for the reasons floating point calculations come out "wrong"

Hans Kesting