TaxAmount returns the amount of tax that is applicable for the net amount aValue, at the tax rate specified by aTaxRate.
The aTaxRate parameter is given as a percentage only, and must be a value between 0 and 100 – e.g. 12.5 is 12.5%.
Declaration: Function TaxAmount( aValue, aTaxRate : Extended) : Extended
An example follows.