Twinkle HubTwinkle Hub

阿拉伯 ↔ 國字大寫

tw_format_chinese_numerals

更多工具 · 同一族🇹🇼 台灣唯讀

阿拉伯數字 ↔ 國字大寫(公文/合約/支票場景)。 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",
  "additionalProperties": false
}

呼叫​方式

起手式——參數見上表
tw_format_chinese_numerals({ value: "…" })