Template:Spellnum/doc

The Template:Spellnum spells the number in parameter 1 as the equivalent words in English. It shows how to say a specific number, such as: 2,024 – "two thousa

Template:Spellnum/doc

The Template:Spellnum spells the number in parameter 1 as the equivalent words in English. It shows how to say a specific number, such as: 2,024 – "two thousand twenty-four". The largest number supported is over 20 trillion (20×1012), with up to 5 decimal digits: 20,999,999,999,999.12345. Any commas in the input are ignored.

Usage:  {{spellnum|345}}          → three hundred forty-five
{{spellnum|345|sp=en}} → three hundred and forty-five   (has "and")
{{spellnum|0.64}}   → zero point six four
{{spellnum|12.015|case=u}} → Twelve point zero one five
{{spellnum|946000121}} → nine hundred forty-six million one hundred and twenty-one
{{spellnum|33+1/2}}     → thirty-three point five
{{spellnum|2450|adj=on}}   → two-thousand-four-hundred-and-fifty
{{spellnum|876000200000}}   → eight hundred seventy-six billion two hundred thousand
{{spellnum|876E9}}   → eight hundred seventy-six billion
{{spellnum|5E9}}   → five billion
{{spellnum|1.32E13}}   → thirteen trillion two hundred billion

Optional parameters are:

case=U (or: case=L) – show as upper-case capital or lower-case.
sp=en (or: sp=us)   – show British variant spellings with "and".
adj=on   – show adjective form, with hyphens between words.

See also


Content Disclaimer

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.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.