---
name: "a less 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_less_b
revid: 321224
updated: 2022-05-13T15:38:27Z
---

# a less b

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

## Description

Returns if *a* is lesser than *b*.

## Syntax

```sqf
a < b
```

**Parameters:**

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

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

## Examples

### Example 1

```sqf
_test = 1 < 2; // true
```

### Example 2

```sqf
_test = 2 < 1; // false
```

## See also

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

<sub>Source: [BI Community Wiki — a less b](https://community.bistudio.com/wiki/a_less_b) (revision 321224).</sub>
