Template:Number table sorting/positive: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
(This template comes from Wikipedia, where a full list of authors can be found at https://en.wikipedia.org/w/index.php?title=Template:Number_table_sorting/positive&action=history) |
No edit summary |
||
Line 2: | Line 2: | ||
|~ | |~ | ||
|&1{{#expr:floor({{{1}}}/1e15)}}{{#expr:floor({{{1}}}/1e14) mod 10}}{{#expr:floor({{{1}}}/1e13) mod 10}}{{#expr:floor({{{1}}}/1e12) mod 10}}{{#expr:floor({{{1}}}/1e11) mod 10}}{{#expr:floor({{{1}}}/1e10) mod 10}}{{#expr:floor({{{1}}}/1e9) mod 10}}{{#expr:floor({{{1}}}/1e8) mod 10}}{{#expr:floor({{{1}}}/1e7) mod 10}}{{#expr:floor({{{1}}}/1e6) mod 10}}{{#expr:floor({{{1}}}/1e5) mod 10}}{{#expr:floor({{{1}}}/1e4) mod 10}}{{#expr:floor({{{1}}}/1e3) mod 10}}{{#expr:floor({{{1}}}/100) mod 10}}{{#expr:floor({{{1}}}/10) mod 10}}{{#expr:floor{{{1}}} mod 10}}{{padleft:{{#expr:floor(1e6*({{{1}}}-floor{{{1}}}))}}|6|0}} | |&1{{#expr:floor({{{1}}}/1e15)}}{{#expr:floor({{{1}}}/1e14) mod 10}}{{#expr:floor({{{1}}}/1e13) mod 10}}{{#expr:floor({{{1}}}/1e12) mod 10}}{{#expr:floor({{{1}}}/1e11) mod 10}}{{#expr:floor({{{1}}}/1e10) mod 10}}{{#expr:floor({{{1}}}/1e9) mod 10}}{{#expr:floor({{{1}}}/1e8) mod 10}}{{#expr:floor({{{1}}}/1e7) mod 10}}{{#expr:floor({{{1}}}/1e6) mod 10}}{{#expr:floor({{{1}}}/1e5) mod 10}}{{#expr:floor({{{1}}}/1e4) mod 10}}{{#expr:floor({{{1}}}/1e3) mod 10}}{{#expr:floor({{{1}}}/100) mod 10}}{{#expr:floor({{{1}}}/10) mod 10}}{{#expr:floor{{{1}}} mod 10}}{{padleft:{{#expr:floor(1e6*({{{1}}}-floor{{{1}}}))}}|6|0}} | ||
}}</includeonly><noinclude>[[Category:Age calculation templates]]{ | }}</includeonly><noinclude>[[Category:Age calculation templates]]{{documentation}}</noinclude> |
Revision as of 06:07, 23 May 2014
Instructions for {{Number table sorting/positive}}
{{Number table sorting/positive}} is a template that supports other templates in Category:Age calculation templates. It contains no user-serviceable parts, nor does it do much on its own. It's firmly a sub-template.