模板:Number to word

本页使用了标题或全文手工转换
被永久保护的模板
维基百科,自由的百科全书
文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

概要

任何实数转换成英文数字

使用方法

{{數字轉英文|数|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

注意事项

重定向

参见