# SUBTRACT function

## `SUBTRACT` function

| Function Name | Description | Usage | Input parameter | Return value |
|---|---|---|---|---|
| `SUBTRACT` | Subtracts the specified number from an existing number. | `SUBTRACT(value)` | Number to subtract. | Difference of two numbers. |

## Supported data type


The `SUBTRACT` function supports the following data types:

- Double
- Integer

## Example: Subtract an integer value


**Sample data** : `$var1$ = 10`


**Usage** : `$var1$.SUBTRACT(15)`
Subtract 15 from var1.


**Output** : `-5`

## Recommendation

- Learn how to add and configure a [Data Mapping task](https://docs.cloud.google.com/application-integration/docs/configure-data-mapping-task.md.txt)