Difference between revisions of "User:Masdus/Ordinal to Word"

From BattleMaster Wiki
Jump to navigation Jump to search
(Created page with "<includeonly><!-- -->{{#ifexpr:({{{1}}} < -999999) or ({{{1}}} > 999999) or (trunc {{{1}}} <> {{{1}}})<!-- -->|{{error|{{tlx|Ordinal to word}}: value "{{{1}}}" is not an inte...")
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly><!--  
 
<includeonly><!--  
-->{{#ifexpr:({{{1}}} < -999999) or ({{{1}}} > 999999) or (trunc {{{1}}} <> {{{1}}})<!--
+
   -->{{#ifexpr:{{{1}}} < 0<!--
  -->|{{error|{{tlx|Ordinal to word}}: value "{{{1}}}" is not an integer in the range -999,999 to 999,999}}<!--
+
       -->|minus {{User:Masdus/Ordinal_to_Word/0 to 999999|us={{{us|}}}|{{#expr: -({{{1}}})}}}}<!--
   -->|{{#ifexpr:{{{1}}} < 0<!--
+
       -->|{{User:Masdus/Ordinal_to_Word/0 to 999999|{{{1}}}|us={{{us|}}}|zeroth{{#ifeq:{{{zeroth|}}}|{{{zeroth|-}}}||x}}={{{zeroth|}}}}}<!--
       -->|minus {{Ordinal to word/0 to 999999|us={{{us|}}}|{{#expr: -({{{1}}})}}}}<!--
 
       -->|{{Ordinal to word/0 to 999999|{{{1}}}|us={{{us|}}}|zeroth{{#ifeq:{{{zeroth|}}}|{{{zeroth|-}}}||x}}={{{zeroth|}}}}}<!--
 
 
     -->}}<!-- end if < 0
 
     -->}}<!-- end if < 0
-->}}<!--end if < -999999 or > 999999
 
 
--></includeonly>
 
--></includeonly>

Latest revision as of 04:01, 13 April 2011