> ## Documentation Index
> Fetch the complete documentation index at: https://docs.reelevant.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Subtract

> Subtract two numbers

## Overview

The `subtract` transformation subtracts the second number from the first number.

## Syntax

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
subtract(<variable 1>, <variable 2>)
```

## Parameters

| Parameter    | Type   | Required | Description                           |
| ------------ | ------ | -------- | ------------------------------------- |
| `variable 1` | number | Yes      | The minuend (number to subtract from) |
| `variable 2` | number | Yes      | The subtrahend (number to subtract)   |

## Examples

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
subtract(<variable 1>, <variable 2>)
```
