in reply to >= returning unexpected result
More code, perhaps?
How are you printing those values? Show us the two/three lines before/after that condition, print statement included.