Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected rounding in field calculator (documentation needed) #18

Open
jgrocha opened this issue Jun 7, 2019 · 0 comments
Open

Unexpected rounding in field calculator (documentation needed) #18

jgrocha opened this issue Jun 7, 2019 · 0 comments

Comments

@jgrocha
Copy link
Owner

jgrocha commented Jun 7, 2019

Author Name: Alister Hood (@AlisterH)
Original Redmine Issue: 5153
Affected QGIS version: master
Redmine category:vectors
Assignee: Nathan Woodrow


(possibly related to #13455)
If I do this I get the expected result: @4/2@
If I do this I get the expected result: @0.5@
If I do this the result is 0, regardless of the precision of the output field!: @2/4@
If I do this the results are shown with many decimal places, regardless of the precision of the output field!^: @$x@

^ However, when the layer is saved the results are rounded to the expected precision. N.B. this is the same as #13665


Related issue(s): #15625 (relates), #19495 (duplicates), #19757 (duplicates), #21296 (relates)
Redmine related issue(s): 6353, 11182, 11487, 13235


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant