Comment Comment by indosauros It also matters whether you're using Python 2 or 3. This is one of the things they changed in 3: >>> print(0.1 + 0.2) 0.30000000000000004 parent indosauros 11 years ago