'It certainoly does _not_ return 1.0 - it returns 1. And that is all it can return for being an integer that has by definition no fractional part. ' For goodness sake, it was a typo, I'm so sorry!