Forum Discussion
Decimal Places - rounding
Hello,
I can't seem to figure out why my query is rounding decimal places. I'll attach some screenshots. I must not have the settings proper. The form is calculating to 2 decimal places just fine.
But the query that writes those calculations to the table is rounding for some reason
Is Standard, 2, not what I should have it set at?
Appreciate any help
- George_HepworthSilver Contributor
First, it is generally undesirable to save calculated values to a table in the first place, so you might need to rethink why this should be done at all. Whenever you have component values for a calculation stored as individual fields, that is adequate to recalculate the other value as needed, where needed. In a report for example.
That said, you probably have a different datatype defined for the field in the table. What is it?
- Elaine180Copper Contributor
Thank you.
I thought I would need to write those values to the table so that I could use them later in calculations for reports.... no? For example, if I'd like to know how many acres planted between a date range.
Either way, this is the plantings table, I set them to Double, Standard, 2. Is that not correct?
- Elaine180Copper ContributorAlso, I will try generating a report now where I calculate the Acres Planted right in the report and not use the number from the table (hopefully it won't round).