> ## 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.

# AVERAGE

> AVERAGE函数用于计算多个数值的平均值，支持在宜搭的不同场景中使用，如表单、流程设计和集成自动化等。该函数接受一组数字作为参数，并返回这些数字的平均值。

**AVERAGE**函数用于计算多个数值的平均值。

## 支持产品场景

AVERAGE函数支持在宜搭的以下场景中使用。

* 表单（主表字段）
* 表单（业务关联规则）
* 表单（校验）
* 流程设计（校验规则）
* 流程设计（关联操作）
* 集成自动化
* 流程-节点
* 连接器

## 格式

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
AVERAGE(number1,number2···numberN)
```

## 属性说明

| **属性** | **是否必填** | **说明**                           |
| ------ | -------- | -------------------------------- |
| number | 是        | 数字类型，需要计算平均值的一组数字，多个数之间使用英文逗号分隔。 |

## 返回值

| **返回值类型** | **说明**    |
| --------- | --------- |
| 数值        | 计算得出的平均值。 |

## 使用示例

如下图所示，使用`AVERAGE()`函数计算一组数字的平均值。

<Frame>
  ![](https://yida-support.oss-cn-shanghai.aliyuncs.com/static/png/1704251066260-00898d08-57df-4c9f-9e8e-edb18a1194db.png)
</Frame>

## 体验

求多个数值的平均值。
