Page MenuHomePhabricator

When summing points on a workboard, display sum with same precision as most-precise value
ClosedPublic

Authored by epriestley on Sep 27 2016, 4:31 PM.
Tags
None
Referenced Files
F15468845: D16601.diff
Fri, Apr 4, 6:33 AM
F15463914: D16601.id39965.diff
Wed, Apr 2, 4:27 AM
F15462734: D16601.id39964.diff
Tue, Apr 1, 5:14 PM
F15462367: D16601.id.diff
Tue, Apr 1, 2:32 PM
F15458878: D16601.diff
Mon, Mar 31, 7:59 AM
F15414301: D16601.id39965.diff
Thu, Mar 20, 12:04 AM
F15384492: D16601.id39964.diff
Fri, Mar 14, 8:03 PM
Unknown Object (File)
Feb 18 2025, 11:47 AM
Subscribers
None

Details

Summary

Fixes T11703. This mostly avoids rounding errors.

If point values include "0.001", we also get three digits of precision: 1.000.

Maybe useful if your point field is called "bitcoins" or something.

Test Plan

Before:

Screen Shot 2016-09-27 at 9.21.16 AM.png (404×319 px, 19 KB)

After:

Screen Shot 2016-09-27 at 9.29.05 AM.png (497×968 px, 51 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to When summing points on a workboard, display sum with same precision as most-precise value.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Sep 27 2016, 4:36 PM
This revision was automatically updated to reflect the committed changes.