Similar to TaxExclusive, Discounted takes aValue and applies a discount at the rate specified by aDiscPC.
The parameter aDiscPC is given as a percentage only, and must be a value between 0 and 100 - eg 25.0 is 25%.
Declaration: Function Discounted( aValue, aDiscPC : Extended) : Extended
An example of its use follows.