qgis/QGIS — pull request #1721 by nyalldawson (2014-12-05 22:18:57+00:00)
Title: [expressions] Make int/int return double results

An option has been added to general settings for users who want to revert to the previous behaviour, where int/int = int.

The new default is for int/int = double result, which is much more predictable for users from a non-programming background. It also matches the behaviour of ArcGIS, MapInfo, python >= 3, Excel, ...