跳转到内容

模板: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

注意事项

[编辑]

重定向

[编辑]

参见

[编辑]