---
url: >-
  /statelake/scripting-reference/functions-and-procedures/accounting-functions/taxinclusive.md
---

# TaxInclusive

**TaxInclusive** returns the gross amount of **aValue** inclusive of tax, at the rate specified by **aTaxRate**.

The parameter **aTaxRate** is given as a percentage only and must be a value between 0 and 100 – e.g. 12.5 is 12.5%.

**Declaration**: Function TaxInclusive( aValue, aTaxRate : Extended) : Extended

An example follows.

```pascal
Procedure OnMapEvent(var Value:variant);
begin
  Value :=  TaxInclusive(2867.56,15);      // returns 3297.694
  Value :=  TaxInclusive(100.00,12.5);     // returns 112.5
  Value :=  TaxInclusive(-2867.56,15);     // returns -3297.694
end;
```
