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
F19061522: D16601.id.diff
Sat, Nov 29, 12:36 PM
F19053003: D16601.diff
Fri, Nov 28, 6:49 AM
F18954028: D16601.id39964.diff
Wed, Nov 12, 8:50 AM
F18941575: D16601.id39964.diff
Tue, Nov 11, 10:21 AM
F18902738: D16601.diff
Sat, Nov 8, 2:30 AM
F18831611: D16601.id39964.diff
Oct 25 2025, 1:48 PM
F18827948: D16601.id.diff
Oct 24 2025, 1:15 PM
F18827877: D16601.id.diff
Oct 24 2025, 12:43 PM
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.