阿拉伯數字 ↔ 國字大寫(公文/合約/支票場景)。 direction='arabic_to_chinese' (預設) 或 'chinese_to_arabic'。
パラメータ
| 名前 | 型 | 説明 |
|---|---|---|
| value * | string | — |
| direction | "arabic_to_chinese" | "chinese_to_arabic" | — |
生の JSON schema
{
"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"
}呼び出し方
スターター——パラメータは上表参照
tw_format_chinese_numerals({ value: "…" })