In an email template, a float with 5 decimal places is rounded to 2 decimal places

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • sobolevfff
    Member
    • Mar 2020
    • 81

    In an email template, a float with 5 decimal places is rounded to 2 decimal places

    I have a float number with 5 decimal places. When I load it into the email template, it is rounded to 2 decimal places. It is important for me to have exactly 5 decimal places because this is the price of the quote and accuracy is very important. Help me, please. How to fix it?







  • sobolevfff
    Member
    • Mar 2020
    • 81

    #2
    Already looked at all PHP files where there is "round", but did not find which function is responsible for loading data into a placeholder of Email Template
    Click image for larger version

Name:	InkedInkedScreenshot_1_LI.jpg
Views:	350
Size:	55.7 KB
ID:	59819
    Last edited by sobolevfff; 06-25-2020, 08:24 PM.

    Comment

    • sobolevfff
      Member
      • Mar 2020
      • 81

      #3
      This is the placeholder in the template

      Comment

      • yuri
        Member
        • Mar 2014
        • 8455

        #4
        closed: duplicate.
        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

        Working...