In your day-to-day use, when generating proposals, you might encounter a discrepancy in the total value of your sales order.
In such cases, you’ll need to insert a simple JavaScript formula into the configuration of the fields that are showing incorrect values.
In the example below, the total sum of the products was incorrect, and it was necessary to update the formula for the "[Block.Total]" field. Here's how the formula was added:
The standard formula to use is parseFloat().toFixed()
Inside the parentheses, you should specify the number of decimal places you want — for example: (2).
Additionally, it's important to remember that after clicking "Save Formula", you must go to the document generated for your client and review the quantity and price values on the Proposal/Sale.
Click here to learn how to adjust the decimal places for a percentage field.