> ## Documentation Index
> Fetch the complete documentation index at: https://help.dingtalk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# FIXED

> The FIXED function rounds a number to a specified number of decimal places and returns the result in decimal format. It supports scenarios including forms, workflow design, and integration & automation. Provide the number and decimals parameters to define the value to process and its precision.

The **FIXED** function rounds a number to a specified number of decimal places, formats it in decimal notation, and returns the result as a number.

## Supported Scenarios

The FIXED function is supported in the following YiDA scenarios:

* Form (main table fields)
* Form (business association rules)
* Form (validation)
* Workflow design (validation rules)
* Workflow design (associated actions)
* Integration & automation
* Workflow node
* Connector

## Syntax

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
FIXED(number, decimals)
```

## Attribute Description

| Attribute | Required | Description                                                          |
| --------- | -------- | -------------------------------------------------------------------- |
| number    | Yes      | Number type. The number to round.                                    |
| decimals  | No       | Number type. The number of digits to the right of the decimal point. |

## Return Value

| Return type | Description                                                   |
| ----------- | ------------------------------------------------------------- |
| Numerical   | The number rounded to the specified number of decimal places. |

## Example

As shown in the following figure, the `FIXED()` function rounds `3.141592657` to two decimal places.

## Try It Out

Round the number to the second decimal place.
