模板:Number to word/doc

概要

任何實數轉換成英文數字

使用方法

{{數字轉英文|数|ord=on/off}}

參數

參數 內容 默認值 説明
1 要轉換的數字 可以是任意實數
ord 序數 若輸入on則輸出序數;輸入其他數、或未指定則輸出基數

範例

  • {{數字轉英文|-9862234}}
    • 顯示為:negative nine million eight hundred sixty-two thousand two hundred and thirty-four
  • {{數字轉英文|-2249982443886|ord=on}}
    • 顯示為:negative two trillion two hundred forty-nine billion nine hundred eighty-two million four hundred forty-three thousand eight hundred and eighty-sixth
  • {{數字轉英文|34659281623021346459162342132643124326}}
    • 顯示為:thirty-four undecillion six hundred fifty-nine decillion two hundred eighty-one nonillion six hundred twenty-three octillion twenty-one septillion three hundred forty-six sextillion four hundred fifty-nine quintillion one hundred sixty-two quadrillion three hundred forty-two trillion one hundred thirty-two billion six hundred forty-three million one hundred twenty-four thousand three hundred and twenty-six
  • {{數字轉英文|-7}}
    • 顯示為:negative seven
  • {{數字轉英文|-15|ord=on}}
    • 顯示為:negative fifteenth
  • {{數字轉英文|3.14159265358979}}
    • 顯示為:three point one four one five nine two six five three five eight nine seven nine

注意事項

重新導向

參見