# Sum

Adds together a list of numbers. If an item in the string is not a number it is excluded from the list. For example, `0x0a 8 .5` becomes `18.5`. Sum lives in the **Arithmetic** category of the `fx` menu.

## Parameters

| Parameter | Type   | Required | Default     | Description                                                                  |
| --------- | ------ | -------- | ----------- | ---------------------------------------------------------------------------- |
| Input     | string | yes      | —           | Value to transform. Previous step output or a literal.                       |
| Delimiter | string | no       | `Line feed` | Choose one of: `Line feed`, `Space`, `Comma`, `Semi-colon`, `Colon`, `CRLF`. |

`Input` is the primary value (previous step output or a literal).

## Returned value

| Type     | Description                       |
| -------- | --------------------------------- |
| `string` | Result of the Sum transformation. |

## Example

<details>
<summary>Sum a list of numbers</summary>

Add numbers separated as the operation expects (often one per line or delimited).

1. Set **Input** to a list of numbers. Paste:

   ```text title="Input"
   1
   2
   3
   ```

2. Confirm **Output value** is the total (`6`).

</details>
