# Handlebars Helper Function: add

Adds two numeric arguments and returns their sum. The function can handle both integer and floating-point numbers, and attempts to convert strings to numbers.

## Availability

This helper is available in the Winter ’26 release of Marketing Cloud Next.

## Syntax

```handlebars
{{add value1 value2}}
```

## Parameters

| Parameter | Type             | Description                                                                     |
| --------- | ---------------- | ------------------------------------------------------------------------------- |
| `value1`  | Number or String | Required. The first value to add. Must be a number or convertible to a number.  |
| `value2`  | Number or String | Required. The second value to add. Must be a number or convertible to a number. |

## Return Value

The function returns the arithmetic sum of the two input values. If you provide more than two arguments, the operation adds only the first two. The result is always a number rounded to 2 decimal places.

If either input is a string, the operation tries to convert it to a number. If a string value can't be converted to a number, the operation throws an exception.
