Opened 13 years ago

Closed 13 years ago

#3606 closed bug (fixed)

Field calculator inserts real values to the attribute table instead of rounding them to the field precision.

Reported by: borysiasty Owned by: jef
Priority: minor: annoyance Milestone: Version 1.7.0
Component: Vectors Version:
Keywords: field calculator precision Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description (last modified by jef)

  1. Use the Field calculator to write e.g. 9/17 to an INTEGER field
  2. In the attribute table you see the real value: 0.529411764705882
  3. Press the Save button
  4. The value is updated with the proper one from layer: 1

This behaviour is confusing for many users, and also makes the table less readable before saving.

Change History (3)

comment:1 by jef, 13 years ago

Owner: set to jef
Status: newassigned

comment:2 by jef, 13 years ago

Description: modified (diff)

comment:3 by jef, 13 years ago

Resolution: fixed
Status: assignedclosed

fixed in r15706.

Note: See TracTickets for help on using tickets.