Appearance
TaxInclusive
Declaration
Function TaxInclusive( aValue, aTaxRate : Extended) : Extended
Example
pascal
procedure OnMapEvent(var Value:Variant);
begin
Value := TaxInclusive(120,12.5); //Value will be equal to 135
end;Description
TaxInclusive returns aValue inclusive of tax at the rate of aTaxRate. aTaxRate is given as a percentage and must be a value between 0 and 100 eg 12.5 is 12.5%