# Module /num

Numeric interpolation (lerp) and rounding-to-multiple utilities.

```tangu
(use /num)
```

## Functions & symbols

### lerp

`(lerp a b t)`

Linearly interpolates between `a` and `b` using factor `t` (`a + t * (b - a)`).

| Parameter | Type | Optional | Description |
| :--- | :--- | :--- | :--- |
| `a` | `Any` | no | — |
| `b` | `Any` | no | — |
| `t` | `Any` | no | — |

### round-to-multiple

`(round-to-multiple n m)`

Rounds `n` down to the largest multiple of `m` (`floor(n / m) * m`).

| Parameter | Type | Optional | Description |
| :--- | :--- | :--- | :--- |
| `n` | `Any` | no | — |
| `m` | `Any` | no | — |
