Quote Item Tax Rate is rounded when used in PDF template

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jaykay89
    Junior Member
    • Nov 2023
    • 12

    Quote Item Tax Rate is rounded when used in PDF template

    Hello everyone,

    I am trying to include the tax rate of 6.625 in my Quote PDF template. However when the PDF is generated the tax rate is rounded to 6.63.

    How can I retain the precision in my fields?
  • yuri
    Member
    • Mar 2014
    • 8527

    #2
    Hi,

    Did you try numberFormat helper? https://docs.espocrm.com/user-guide/...ber-formatting
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment


    • jaykay89
      jaykay89 commented
      Editing a comment
      Hi Yuri,

      Yes I just tried and the precision is still lost when I use the taxRate field of 3 decimal places. Always rounds to 2 decimal places even when I use the numberFormat helper.
Working...