داڕێژە: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.

بەکارھێنان:  {{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}} → نۆ سەد چلوشەش میلیۆن یەک سەد بیستویەک
{{spellnum|33+1/2}}     → سیوسێ پۆینت پێنج
{{spellnum|2450|adj=on}}   → دوو-ھەزار-چوار-سەد-پەنجا
{{spellnum|876000200000}}   → ھەشت سەد حەفتاوشەش بیلیۆن دوو سەد ھەزار
{{spellnum|876E9}}   → ھەشت سەد حەفتاوشەش بیلیۆن
{{spellnum|5E9}}   → پێنج بیلیۆن
{{spellnum|1.32E13}}   → سیانزە تریلیۆن دوو سەد بیلیۆن

پارامەترە ئارەزوومەندانەکان:

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.

ئەمانەش ببینە[دەستکاری]