> **Can't find what you're looking for?** Use `search_docs` on the docs MCP server at `https://www.getfoundry.sh/api/mcp` to find what you need.
>
> **Have feedback?** Use `submit_feedback` on the same MCP server.

## `assertGtDecimal`

### Signature

```solidity
function assertGtDecimal(uint256 left, uint256 right, uint256 decimals) internal
```

```solidity
function assertGtDecimal(uint256 left, uint256 right, uint256 decimals, string memory err) internal;
```

```solidity
function assertGtDecimal(int256 left, int256 right, uint256 decimals) internal;
```

```solidity
function assertGtDecimal(int256 left, int256 right, uint256 decimals, string memory err) internal;
```

### Description

Asserts `left` is strictly greater than `right`.

`left` and `right` are formatted with decimals in the revert string.

Optionally includes an error message in the revert string.

### SEE ALSO

* [`assertGt`](/reference/forge-std/assertGt.mdx)
