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

# LE

> The LE function compares two values to determine whether one is less than or equal to the other. It is supported across multiple YiDA scenarios, including Form and workflow design. The function takes two parameters (value1 and value2) and returns a boolean value representing the comparison result.

The **LE** function determines whether one value is **less than or equal to** another value.

## Supported Product Scenarios

The LE function is supported in the following YiDA scenarios:

* Form (main table field)
* Form (business association rule)
* Form (validation)
* Workflow design (validation rule)
* Workflow design (associated action)
* Integration and automation
* Workflow node
* Connector

## Format

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
LE(value1,value2)
```

## Attribute Description

| **Attribute** | **Required** | **Description**                                 |
| ------------- | ------------ | ----------------------------------------------- |
| value1        | Yes          | The value to compare. Supports Number and Date. |
| value2        | Yes          | The value to compare. Supports Number and Date. |

## Return Value

| **Return type** | **Description**                                                                                                                                        |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Boolean         | The comparison result of the two parameters.<br />• **true**: value1 is less than or equal to value2.<br />• **false**: value2 is greater than value1. |

## Example

In the following example, the `LE()` function compares `Value 1` with `Value 2`. When `Value 1` is less than or equal to `Value 2`, the function returns true.
