[expression] Fixes #5153 - use real division when integer division returns a double value