Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.0.0-b1
-
Component/s: Plugins, Staff Interface
-
Labels:None
Description
A tax rate of 15% may be displayed as 15.0000% as we maintain 4 decimal precision, however tax rates are typically never displayed this way.
Consider using floatval() to remove the extra zeros.
Suggested here - http://www.blesta.com/forums/index.php?/topic/3564-format-tax-rate/
Activity
| Field | Original Value | New Value |
|---|---|---|
| Summary | Remove extraneous zero's when formatting tax rates for display | Remove extraneous zeros when formatting tax rates for display |
| Fix Version/s | Short Term [ 10800 ] |
| Rank | Ranked higher |
| Assignee | Cody Phillips [ cody ] | Jonathan Reissmueller [ jonathan ] |
Automated transition triggered when Jonathan Reissmueller created a branch in Stash -
| Status | Open [ 1 ] | In Progress [ 3 ] |
Automated transition triggered when Jonathan Reissmueller created pull request #157 in Stash -
| Status | In Progress [ 3 ] | In Review [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Fix Version/s | 4.0.0 [ 10603 ] | |
| Fix Version/s | Short Term [ 10800 ] |
| Story Points | 2 |
| Sprint | 4.0.0 Sprint 9 [ 27 ] |
| Rank | Ranked higher |
| Sprint | 4.0.0 Sprint 9 [ 27 ] | 4.0.0 Sprint 9, 4.0.0 Sprint 10 [ 27, 28 ] |
Automated transition triggered when Tyson Phillips (Inactive) merged pull request #157 in Stash -
| Status | In Review [ 5 ] | Closed [ 6 ] |