Template:Spellnum per MOS/doc
此頁面是Template:Spellnum per MOS的Template文档。 此頁面可能包含了模板的使用說明、分類和其他内容。 |
範例
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