- Issue created by @emptyvoid
- last update
about 1 year ago 29,678 pass - Status changed to Needs review
about 1 year ago 5:36pm 3 November 2023 - Status changed to Needs work
about 1 year ago 7:11pm 3 November 2023
Core decimal calculations round larger numbers instead of be exact. This becomes a serious issue when attempting to accomplish basic math functions or when presenting currency values for reporting and basic presentation. Worse, the field validators prevent numbers from being entered or saved. Even if the length is of the field is specified in the field config.
Create a number field of type decimal.
Define the boundaries to be over 32 numbers.
Attempt to save records using numbers from 1 to 32 (and beyond) with decimal values.
See system bork or block values.
Expand accuracy and range of validations for larger number sets.
Prevent rounding or "shaving" of values both in the database and on field render.
Needs work
10.1 β¨
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.