Fixed improper comparison of ints and floats.
Merge pull request #2 from harald-lang/master

Fixed improper comparison of ints and floats.