---
name: "a greater b"
type: command
operator: ">"
status: ok
groups: ["Math", "Variables"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/a_greater_b
revid: 318547
updated: 2022-05-13T09:21:04Z
---

# a greater b

*Command · Math, Variables · Arma 3 v0.50 · introduced in Operation Flashpoint v1.00*

## Description

Returns [true](../commands/true.md) if **a** is greater than **b**, else returns [false](../commands/false.md).

## Syntax

```sqf
a > b
```

**Parameters:**

- `a`: [Number](../topics/Number.md)
- `b`: [Number](../topics/Number.md)

**Returns:** [Boolean](../topics/Boolean.md)

## Examples

### Example 1

```sqf
if (fuel truck1 > 0) then { hint "Truck1 has some fuel left."; };
```

## See also

[Operators](../topics/Operators.md)

<sub>Source: [BI Community Wiki — a greater b](https://community.bistudio.com/wiki/a_greater_b) (revision 318547).</sub>
