Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-1483

Remove extraneous zeros when formatting tax rates for display

    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

        There are no comments yet on this issue.

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/Sep/16

              Agile