Template:Hex2dec: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Jimp
<includeonly></includeonly>
meta>Toohool
switch to Lua implementation
Line 1: Line 1:
<includeonly>{{#ifeq:{{padleft:|2|{{{1|0}}}}}|0x
{{#invoke: BaseConvert | convert
  | {{Hex2dec/main
  | n={{{1}}}  
    | {{lc:{{{1|0}}}}}
  | base=10
    | {{Hex2dec/1 | {{{1|0}}} }}  
  | from=16
    }}
  | default=0
  | {{Hex2dec/main
}}<noinclude>{{documentation}}</noinclude>
    | 0x{{lc:{{{1|0}}}}}
    | {{Hex2dec/1 | 0x{{{1|0}}} }}
    }}
}}</includeonly><noinclude>
{{documentation}}
</noinclude>

Revision as of 05:05, 24 February 2013

Script error: No such module "BaseConvert".