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

# RMBFORMAT

> The RMBFORMAT function formats a numerical value into uppercase Chinese Renminbi (RMB) format. It is supported across multiple YiDA scenarios, including forms, workflow design, and integration & automation. The function takes two parameters — the number to format and the text format type — and returns the formatted uppercase RMB text.

The **RMBFORMAT** function formats a numerical value into uppercase Chinese Renminbi (RMB) format.

## Supported Product Scenarios

The RMBFORMAT 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 — nodes
* Connector

## Syntax

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

## Attribute Description

| **Attribute** | **Required** | **Description**                                                                                                                                                                                                                                                                                     |
| ------------- | ------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| number        | Yes          | The number to be formatted.                                                                                                                                                                                                                                                                         |
| type          | Yes          | The formatted text format type. Values:<br />• **1**: Jiao Zheng (jiao exact).<br />• **0**: Yuan Zheng (yuan exact).<br />**Note**: The character "整" (Zheng, meaning "exact") must be appended when the smallest unit is Yuan or Jiao. It is not required for smaller units such as Fen or below. |

## Return Value

| **Return value type** | **Description**                                                                                                             |
| --------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| Text                  | The formatted uppercase RMB text.<br />The corresponding uppercase characters are: `零、壹、贰、叁、肆、伍、陆、柒、捌、玖、拾、佰、仟、万、亿、元、角、分、厘`. |

## Example

In the figure below, the formula returns: `壹拾贰万叁仟肆佰伍拾陆元整` (meaning "One hundred twenty-three thousand four hundred fifty-six yuan exact").

## Try It Out

Format a number into RMB format.
