DiscountAmount returns the amount of discount applied to aValue, at the discount rate specified by aDiscPC.
The parameter aDiscPC is given as a percentage, and must be a value between 0 and 100 – e.g. 17.5 is 17.5%.
Refer also to Discounted.
Declaration: Function DiscountAmount( aValue, aDiscPC : Extended) : Extended
Please refer to the following example.