Expression editor in Layer Properties does not support division of integer data #19495
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Expressions
Related to the QGIS expression engine or specific expression functions
High Priority
Milestone
Author Name: d d (d d)
Original Redmine Issue: 11182
Affected QGIS version: 2.4.0
Redmine category:expressions
Affected function: under Layer Properties --> Style --> Graduated --> Expression
Issue: writing an expression that divides values in two separate columns (type: int; length: 10) of an ESRI SHP file results in incorrect value (0). Addition, subtraction, and multiplication all work as expected and produce sensible results.
Expected behaviour: when dividing two integer values, the result should be promoted to a real value.
The Expression editor is non-functional in its present state.
Related issue(s): #14905 (duplicates)
Redmine related issue(s): 5153
The text was updated successfully, but these errors were encountered: