When looking at the standard fields "Amount" or "Total Price" on the Opportunity and Quote object respectively, it may appear that the value is off by a few cents if compared to a manually calculated sum of all associated Products.
This occurs because of the way that the Amount and Total Price fields are calculated.
The Total Price of each line item (Product) is calculated as follows: `(UnitPrice * Quantity) * Discount`. Then, the un-rounded Total Price of each line item is summed together to get the Opportunity Amount or Quote Total Price.
Because the un-rounded per-line number is summed rather than the rounded (displayed) number, there may be a small discrepancy when comparing the total to a manually calculated result using rounded line item values. By summing the un-rounded figures, Salesforce ensures that the Amount and Total Price on the Opportunity and Quote respectively are precise and exact — rather than compounding small rounding errors across many line items.
Example: Say an Opportunity has 3 line items, each with an un-rounded Total Price of $9.995. Displayed (rounded) on screen, each line item shows as $10.00, so a manual sum of the displayed values gives $30.00. But Salesforce sums the un-rounded values ($9.995 × 3 = $29.985), which then rounds to $29.99 for the Opportunity Amount — a 1 cent difference from the manually calculated total.
Validation Rule to Prevent Opportunity Stage Change Unless the Amount > 0
000385918

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.