Skip to content

Flow documentation · legacy product

TaxExclusive ​

Declaration ​

Function TaxExclusive( aValue, aTaxRate : Extended) : Extended

Example ​

pascal
procedure OnMapEvent(var Value:Variant);
begin
  Value := TaxExclusive(135,12.5); //Value will be equal to 120
end;

Description ​

TaxExclusive returns aValue exclusive 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%