> 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-server/005-function/math/math.round.md).

# Math.round

## Description

Round the value to the nearest integer based on the mode.

## Input / Parameter

| Name  | Description                                    | Input Type | Default  | Options                                                    | Required |
| ----- | ---------------------------------------------- | ---------- | -------- | ---------------------------------------------------------- | -------- |
| value | The value to be rounded.                       | Number     | -        | -                                                          | Yes      |
| mode  | The mode to be followed in rounding the value. | Text       | Half\_Up | Ceiling, Down, Floor, Half\_Down, Half\_Even, Half\_Up, Up | No       |

## Output

| Description                                   | Output Type |
| --------------------------------------------- | ----------- |
| The rounded value based on the mode selected. | Number      |

## Callback

N/A

## Video

Coming Soon.

## Example

Coming Soon.

### Steps

Coming Soon.

### Result

Coming Soon.

## Links
