模板:Number to word/doc
外觀
此頁面是Template:Number to word的模板文件。 此頁面可能包含了模板的使用說明、分類和其他內容。 |
此模板使用Lua語言: |
概要
[編輯]使用方法
[編輯]{{數字轉英文|数|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
注意事項
[編輯]重新導向
[編輯]參見
[編輯]