I have an opportunity that has 3 products and each product has a list price of $600 and sales price (UnitPrice) of $400. The amount field on the opportunity is showing $1,199.99 instead of $1200 as we'd like.
I ran a query in the developer console against the OpportunityLineItem table for this opportunity record and the UnitPrice is showing $399.996 for each line item.
How can this be and why is it not showing $400. I did some googling and saw there is some feature about "More decimals on price", but this doesn't seem to be relevant here.
We are using a single currency in our salesforce org and "UnitPrice" is a standard salesforce field. Looking at it, it shows (16,2) for the scale/precision
How can I fix this issue so our UnitPrice for each product shows $400 instead of $399.996?
UnitPrice
field to explicitly set it to400
?