Template:Hex2dec: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>CharlotteWebb
wheeeeeeeee
 
meta>Ludwigs2
No edit summary
Line 1: Line 1:
{{#expr:{{hex2dec/2|{{{1|0}}}|{{#expr:{{hex2dec/1|{{{1|}}}}}-1}}}}+{{hex2dec/2|{{{1|0}}}|{{#expr:{{hex2dec/1|{{{1|}}}}}-2}}}}*16+{{hex2dec/2|{{{1|0}}}|{{#expr:{{hex2dec/1|{{{1|}}}}}-3}}}}*256+{{hex2dec/2|{{{1|0}}}|{{#expr:{{hex2dec/1|{{{1|}}}}}-4}}}}*4096+{{hex2dec/2|{{{1|0}}}|{{#expr:{{hex2dec/1|{{{1|}}}}}-5}}}}*65536+{{hex2dec/2|{{{1|0}}}|{{#expr:{{hex2dec/1|{{{1|}}}}}-6}}}}*1048576+{{hex2dec/2|{{{1|0}}}|{{#expr:{{hex2dec/1|{{{1|}}}}}-7}}}}*16777216+{{hex2dec/2|{{{1|0}}}|{{#expr:{{hex2dec/1|{{{1|}}}}}-8}}}}*268435456}}<noinclude>
{{#ifeq:{{padleft:|2|{{{1|0}}}}}|0x
  | {{Hex2dec/main
    | {{lc:{{{1|0}}}}}  
    | {{Hex2dec/1 | {{{1|0}}} }}  
    }}
  | {{Hex2dec/main
    | 0x{{lc:{{{1|0}}}}}  
    | {{Hex2dec/1 | 0x{{{1|0}}} }}  
    }}
}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 08:16, 11 September 2010

Template:Hex2dec/main