模板:Spellnum per MOS
外观
范例
[编辑]Case | Input | Output | |
---|---|---|---|
Default | forcenum = "true" or equivalent | ||
negative or non-integer | -3 | -3 | -3 |
1.5 | 1.5 | 1.5 | |
integer less than 10 | 9 | nine | nine |
integer requiring two or fewer words | 54 | fifty-four | 54 |
8000 | eight thousand | 8000 | |
integer requiring more than two words | 320 | 320 | 320 |
integer greater than one million | 12000000 | twelve million | 12000000 |
12060000 | 12060000 | 12060000 | |
35000000 | 35000000 | 35000000 |
参见
[编辑]- {{Number to word}} – called by this template; converts all numerals to words without regard for WP:NUMERAL
上述文档嵌入自Template:Spellnum per MOS/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |