FORM FIELDS:
InvoiceAmount: (Example-)$5.29
Repeating table fields:
Department (drop-down): (Example-marketing)
Line charge (read-only) : (InvoiceAmount*percentage*0.01)
Percentage (integer): (Example-50)
SCENARIO:
The invoice amount needs to be charged to the different departments. The accounting clerk enters the percentage, and the line charge is automatically calculated.
But, if the invoice amount is 5.29 and needs to be divided to two departments by 50%, it calculates $2.65 for each which totals up to $5:30.
ANY SOLUTION for this wrong calculation?