阿拉伯數字 ↔ 國字大寫(公文/合約/支票場景)。 direction='arabic_to_chinese' (預設) 或 'chinese_to_arabic'。
Paramètres
| Nom | Type | Description |
|---|---|---|
| value * | string | — |
| direction | "arabic_to_chinese" | "chinese_to_arabic" | — |
Schéma JSON brut
{
"properties": {
"value": {
"title": "Value",
"type": "string"
},
"direction": {
"default": "arabic_to_chinese",
"enum": [
"arabic_to_chinese",
"chinese_to_arabic"
],
"title": "Direction",
"type": "string"
}
},
"required": [
"value"
],
"title": "format_chinese_numeralsArguments",
"type": "object"
}Comment appeler
Amorce — paramètres dans le tableau
tw_format_chinese_numerals({ value: "…" })