Converts numerals to words if appropriate per the style guide MOS:NUMERAL. The first unnamed parameter is the numeral to be evaluated. All optional parameters o
| This is a documentation subpage for Template:Spellnum per MOS. It may contain usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
| This template should be substituted unless the argument is dynamic (i.e., generated by another template or module that cannot be substituted). |
Converts numerals to words if appropriate per the style guide MOS:NUMERAL. The first unnamed parameter is the numeral to be evaluated. All optional parameters of {{number to word}} are accepted by this template.
Editors using this template are responsible for checking its output against the detailed guidance of MOS:NUMERAL.
| Case | Input | Output | |
|---|---|---|---|
| Default | with forcenum = "true" | ||
| 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 | 8,000 | |
| integer requiring more than two words | 320 | 320 | 320 |
| integer greater than one million | 12000000 | twelve million | 12,000,000 |
| 35410267 | 35 million | 35,410,267 | |
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.