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