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/