> For the complete documentation index, see [llms.txt](https://docs.emobiq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.emobiq.com/emobiq-client/006-actions-and-visual-logic/action-reference/cordova/math/add.md).

# add

## Description

Addition of two numbers. The output will return the sum of the two numbers.

## Input / Parameter

| Name   | Description               | Input Type | Default | Options | Required |
| ------ | ------------------------- | ---------- | ------- | ------- | -------- |
| value1 | The first number to add.  | Number     | -       | -       | Yes      |
| value2 | The second number to add. | Number     | -       | -       | Yes      |

## Output

| Description                        | Output Type |
| ---------------------------------- | ----------- |
| Returns the sum of the two values. | Number      |

## Callback

N/A

## Video

## Example

1. Drag the `add` function into the event flow.

   ![](/files/g2VAbn2EDwNptwK8TKG7)
2. Enter the 2 values to be added together. For this example they are `1` and `2`.

   ![](/files/XSwSs5WFvCeXCGdipalw)

### Results

`3`

## Links
