Rounding calculation to a penny
Hi,
Any help appreciated. Total noob by the way!
I am creating an invoice for agents to work out their commission on products sold. We pay them 50% on sale and 50% on delivery.
The form currently works up to the point of adding all products sold, applying their commission % and calculating total value of their commission ("Total_Commission").
I now want the invoice to show the two values of their first 50% ("SplitA") and second 50% ("SplitB") commissions.
The difficulty I have is with odd numbered commission totals.
For example, total commission = £100.05, if I include a calculation for SplitA in Simplified Field Notation: Total_Commission/2 I get £50.03. That's fine. The second commission invoice amount is now a problem as it needs to be £50.02. I have tried Total_Commission-SplitA in Simplified field notation, but it also produces £50.03.
It looks like I need to use a Custom Calculation Script, and I've tried several solutions, but am not having success!
Please help
