×
Create a new article
Write your page title here:
We currently have 3,602 articles on DC Multiverse Wiki. Type your article name above or create one of the articles listed here!



    DC Multiverse Wiki

    Template:Convert:NumtoText: Difference between revisions

    Content added Content deleted
    No edit summary
    m (Undo revision 232233 by NickNickleby (talk))
     
    (47 intermediate revisions by 2 users not shown)
    Line 1: Line 1:
    {{#switch:{{{1|}}}
    {{#if:{{{2|}}}||{{#switch:{{#sub:{{{1|}}}|-4|4}}
    |1000=one-thousandth
    |10=ten
    |#default={{#ifexpr:1000>{{{1|}}}||{{#switch:{{#sub:{{{1|}}}|-4|1}}
    |11=eleven
    |1=one-thousand-
    |12=twelve
    }}}}}}{{#switch:{{#sub:{{{1|}}}|-3|3}}
    |13=thirteen
    |100=one-hundredth
    |14=fourteen
    |200=two-hundredth
    |15=fifteen
    |300=three-hundredth
    |16=sixteen
    |400=four-hundredth
    |17=seventeen
    |500=five-hundredth
    |18=eighteen
    |600=six-hundredth
    |19=nineteen
    |700=seven-hundredth
    |100=one-hundred
    |800=eight-hundredth
    |#default={{#ifexpr:{{#len:{{{1|}}}}}=2
    |900=nine-hundredth
    |{{#switch:{{#sub:{{{1|}}}|0|1}}
    |#default={{#ifexpr:100>{{{1|}}}||{{#switch:{{#sub:{{{1|}}}|-3|1}}
    |1=one-hundred-
    |2=two-hundred-
    |3=three-hundred-
    |4=four-hundred-
    |5=five-hundred-
    |6=six-hundred-
    |7=seven-hundred-
    |8=eight-hundred-
    |9=nine-hundred-
    }}}}}}{{#switch:{{#sub:{{{1|}}}|-2|2}}
    |10=tenth
    |11=eleventh
    |12=twelfth
    |13=thirteenth
    |14=fourteenth
    |15=fifteenth
    |16=sixteenth
    |17=seventeenth
    |18=eighteenth
    |19=nineteenth
    |20=twentieth
    |30=thirtieth
    |40=fortieth
    |50=fiftieth
    |60=sixtieth
    |70=seventieth
    |80=eightieth
    |90=ninetieth
    |#default={{#ifexpr:10>{{{1|}}}||{{#switch:{{#sub:{{{1|}}}|-2|1}}
    |2=twenty
    |2=twenty
    |3=thirty
    |3=thirty
    Line 21: Line 51:
    |8=eighty
    |8=eighty
    |9=ninety
    |9=ninety
    }}{{#ifeq:{{#sub:{{{1|}}}|-1|1}}|0||-}}}}
    }}{{#ifeq:{{#sub:{{{1|}}}|-2|1}}|0||{{#ifeq:{{#sub:{{{1|}}}|-1|1}}|0||-}}}}}}{{#switch:{{#sub:{{{1|}}}|-1|1}}
    |1=first
    {{#switch:{{#sub:{{{1|}}}|-1|1}}
    |1=one
    |2=second
    |2=two
    |3=third
    |3=three
    |4=fourth
    |4=four
    |5=fifth
    |5=five
    |6=sixth
    |7=seventh
    |6=six
    |7=seven
    |8=eighth
    |8=eight
    |9=ninth
    }}}}}}{{#if:{{{2|}}}|
    |9=nine
    {{#switch:{{#sub:{{{1|}}}|-4|4}}
    |#default=}}}}
    |1000=one-thousand
    {{#ifexpr:{{{1|}}}>=100|one-hundred-}}
    {{#switch:{{#sub:{{{1|}}}|-2|2}}
    |#default={{#ifexpr:1000>{{{1|}}}||{{#switch:{{#sub:{{{1|}}}|-4|1}}
    |1=one-thousand-
    }}}}}}{{#switch:{{#sub:{{{1|}}}|-3|3}}
    |100=one-hundred
    |200=two-hundred
    |300=three-hundred
    |400=four-hundred
    |500=five-hundred
    |600=six-hundred
    |700=seven-hundred
    |800=eight-hundred
    |900=nine-hundred
    |#default={{#ifexpr:100>{{{1|}}}||{{#switch:{{#sub:{{{1|}}}|-3|1}}
    |1=one-hundred and 
    |2=two-hundred and 
    |3=three-hundred and 
    |4=four-hundred and 
    |5=five-hundred and 
    |6=six-hundred and 
    |7=seven-hundred and 
    |8=eight-hundred and 
    |9=nine-hundred and 
    }}}}}}{{#switch:{{#sub:{{{1|}}}|-2|2}}
    |10=ten
    |10=ten
    |11=eleven
    |11=eleven
    Line 45: Line 97:
    |18=eighteen
    |18=eighteen
    |19=nineteen
    |19=nineteen
    |20=twenty
    |#default={{#ifexpr:10>{{{1|}}}|
    |30=thirty
    |{{#switch:{{#sub:{{{1|}}}|-2|1}}
    |40=forty
    |50=fifty
    |60=sixty
    |70=seventy
    |80=eighty
    |90=ninety
    |#default={{#ifexpr:10>{{{1|}}}||{{#switch:{{#sub:{{{1|}}}|-2|1}}
    |2=twenty
    |2=twenty
    |3=thirty
    |3=thirty
    Line 52: Line 111:
    |5=fifty
    |5=fifty
    |6=sixty
    |6=sixty
    |7=seventieth
    |7=seventy
    |8=eighty
    |8=eighty
    |9=ninety
    |9=ninety
    }}{{#ifeq:{{#sub:{{{1|}}}|-2|1}}|0||{{#ifeq:{{#sub:{{{1|}}}|-1|1}}|0||-}}}}}}{{#switch:{{#sub:{{{1|}}}|-1|1}}
    }}
    {{#ifeq:{{#sub:{{{1|}}}|-2|1}}|0||{{#ifeq:{{#sub:{{{1|}}}|-1|1}}|0||-}}}}}}
    {{#switch:{{#sub:{{{1|}}}|-1|1}}
    |1=one
    |1=one
    |2=two
    |2=two
    Line 68: Line 125:
    |9=nine
    |9=nine
    }}}}
    }}}}
    }}

    Latest revision as of 14:54, 12 September 2022

    Expression error: Missing operand for >.Expression error: Missing operand for >.Expression error: Missing operand for >.

    Cookies help us deliver our services. By using our services, you agree to our use of cookies.

    Recent changes

  • IC228 • 4 days ago
  • IC228 • 4 days ago
  • IC228 • 5 days ago
  • IC228 • 5 days ago
  • Welcome to the DC Multiverse Wiki


    Cookies help us deliver our services. By using our services, you agree to our use of cookies.