bcgov / cas-reporting

This is for the Clean Growth Digital Services team for work related to reporting.
Apache License 2.0
0 stars 0 forks source link

Reporting: Decimal places and data validation #387

Open patriciarussellCAS opened 3 weeks ago

patriciarussellCAS commented 3 weeks ago

Description:

How many decimal places should be considered when doing calculations in the app? How many decimal places would you like displayed to the user? (If different) We currently have set it to consider 5 decimal places during calculations & display the same (removing trailing 0's) to the user

BA: 4 decimal places recommended. Robb: We see sometimes that users inappropriately round when entering data. Is there a data validation practice we could implement? e.g, if 1234.0000 is entered can we pop-up an "are you sure?" message?

Acceptance Criteria:

Given When Then

Development Checklist:

Definition of Ready (Note: If any of these points are not applicable, mark N/A)

Definition of Done (Note: If any of these points are not applicable, mark N/A)

Blocked By/Blocking

Notes:

-