Bug report #4622
Labelling expression: toint() produces negative values
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | Nathan Woodrow | ||
Category: | Labelling | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 14524 |
Description
Displaying a numeric fields is ok. Applying toint(the_same_field) produces some incorrectly negative values, in a non obvious pattern.
Related issues
Associated revisions
History
#1 Updated by Paolo Cavallini almost 13 years ago
- Category set to Labelling
#2 Updated by Giovanni Manghi almost 13 years ago
- Target version set to Version 1.7.4
#3 Updated by Martin Dobias almost 13 years ago
- Crashes QGIS or corrupts data set to No
- Affected QGIS version set to master
Unable to reproduce. Please attach some test data and instructions.
#4 Updated by Paolo Cavallini almost 13 years ago
- File butta.tar.gz added
The expression is:
toint( $area )
The result is:
-475140599
Sample attached.
#5 Updated by Jürgen Fischer almost 13 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
Fixed in changeset 18451fdb0267f6c6fbae692a43346b9145e68052.