阿拉伯數字 ↔ 國字大寫(公文/合約/支票場景)。 direction='arabic_to_chinese' (預設) 或 'chinese_to_arabic'。
Parameters
| Param | Type | Description |
|---|---|---|
| value * | string | — |
| direction | "arabic_to_chinese" | "chinese_to_arabic" | — |
Raw 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",
"additionalProperties": false
}How to call
Starter — params in the table above
tw_format_chinese_numerals({ value: "…" })
Same family More tools
ly_legislator_profileTaiwan legislator profile · bills, interpellations, speeches, votesly_law_historyTaiwan law legislative history · article versions with legislative reasonsly_vote_lookupTaiwan Legislative Yuan floor votes · who voted how, by partyly_gazette_searchTaiwan Legislative Yuan gazettes · full-text search
See the whole family