# $taxRule->rate()

> Gets the tax rate as decimal value

- Source: `src/TaxRule.php#L50` <https://github.com/wagnerwagner/merx/blob/2.0.0-alpha.11/src/TaxRule.php#L50>

```php
$taxRule->rate(null|Kirby\Cms\App $kirby = null): float|null
```

## Parameters

| Name | Type | Default |
| --- | --- | --- |
| `$kirby` | `null\|Kirby\Cms\App` | `null` |

## Return type

`float|null`

The tax rate (e.g. 0.19) or null if no rate is set

## Parent class

`Wagnerwagner\Merx\TaxRule`
