Difference between revisions of "Template:LSL Hex/Write"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{#vardefine:in|{{{1|0}}}}}{{#vardefine:in|{{#expr:{{#var:in}}{{#ifexpr:{{#var:in}}<0| + {{#ifexpr:{{#var:in}}<-2147483648|18446744073709551616|4294967296}}}}}}}}{{#vardefine:out|{{#sub:0123456789ABCDEF|{{expr:{{#var:in}} mod 16}}|1}}}}{{#vardefine:in|{{#expr:{{#var:in}} / 16 round 0}}}}{{#ifexpr:{{#var:in}} > 0|{{#vardefine:out|{{#sub:0123456789ABCDEF|{{expr:{{#var:in}} mod 16}}|1}}}}{{#vardefine:in|{{#expr:{{#var:in}} / 16 round 0 | {{#vardefine:in|{{{1|0}}}}}{{#vardefine:in|{{#expr:{{#var:in}}{{#ifexpr:{{#var:in}}<0| + {{#ifexpr:{{#var:in}}<-2147483648|18446744073709551616|4294967296}}}}}}}}{{#vardefine:out|{{#sub:0123456789ABCDEF|{{expr:{{#var:in}} mod 16}}|1}}}}{{#vardefine:in|{{#expr:{{#var:in}} / 16 round 0}}}}{{#ifexpr:{{#var:in}} > 0|{{#vardefine:out|{{#sub:0123456789ABCDEF|{{expr:{{#var:in}} mod 16}}|1}}{{#var:out}}}}{{#vardefine:in|{{#expr:{{#var:in}} / 16 round 0}}}}{{#ifexpr:{{#var:in}} > 0|{{#vardefine:out|{{#sub:0123456789ABCDEF|{{expr:{{#var:in}} mod 16}}|1}}{{#var:out}}}}{{#vardefine:in|{{#expr:{{#var:in}} / 16 round 0}}}}{{#ifexpr:{{#var:in}} > 0|{{#vardefine:out|{{#sub:0123456789ABCDEF|{{expr:{{#var:in}} mod 16}}|1}}{{#var:out}}}}{{#vardefine:in|{{#expr:{{#var:in}} / 16 round 0}}}}{{#ifexpr:{{#var:in}} > 0|{{#vardefine:out|{{#sub:0123456789ABCDEF|{{expr:{{#var:in}} mod 16}}|1}}{{#var:out}}}}{{#vardefine:in|{{#expr:{{#var:in}} / 16 round 0}}}}{{#ifexpr:{{#var:in}} > 0|{{#vardefine:out|{{#sub:0123456789ABCDEF|{{expr:{{#var:in}} mod 16}}|1}}{{#var:out}}}}{{#vardefine:in|{{#expr:{{#var:in}} / 16 round 0}}}}{{#ifexpr:{{#var:in}} > 0|{{#vardefine:out|{{#sub:0123456789ABCDEF|{{expr:{{#var:in}} mod 16}}|1}}{{#var:out}}}}{{#vardefine:in|{{#expr:{{#var:in}} / 16 round 0}}}}{{#ifexpr:{{#var:in}} > 0|{{#vardefine:out|{{#sub:0123456789ABCDEF|{{expr:{{#var:in}} mod 16}}|1}}{{#var:out}}}}{{#vardefine:in|{{#expr:{{#var:in}} / 16 round 0}}}}{{#ifexpr:{{#var:in}} > 0|{{#vardefine:out|{{#sub:0123456789ABCDEF|{{expr:{{#var:in}} mod 16}}|1}}{{#var:out}}}}{{#vardefine:in|{{#expr:{{#var:in}} / 16 round 0}}}}{{#ifexpr:{{#var:in}} > 0|{{#vardefine:out|{{#sub:0123456789ABCDEF|{{expr:{{#var:in}} mod 16}}|1}}{{#var:out}}}}{{#vardefine:in|{{#expr:{{#var:in}} / 16 round 0}}}}{{#ifexpr:{{#var:in}} > 0|{{#vardefine:out|{{#sub:0123456789ABCDEF|{{expr:{{#var:in}} mod 16}}|1}}{{#var:out}}}}{{#vardefine:in|{{#expr:{{#var:in}} / 16 round 0}}}}{{#ifexpr:{{#var:in}} > 0|{{#vardefine:out|{{#sub:0123456789ABCDEF|{{expr:{{#var:in}} mod 16}}|1}}{{#var:out}}}}{{#vardefine:in|{{#expr:{{#var:in}} / 16 round 0}}}}{{#ifexpr:{{#var:in}} > 0|{{#vardefine:out|{{#sub:0123456789ABCDEF|{{expr:{{#var:in}} mod 16}}|1}}{{#var:out}}}}{{#vardefine:in|{{#expr:{{#var:in}} / 16 round 0}}}}{{#ifexpr:{{#var:in}} > 0|{{#vardefine:out|{{#sub:0123456789ABCDEF|{{expr:{{#var:in}} mod 16}}|1}}{{#var:out}}}}{{#vardefine:in|{{#expr:{{#var:in}} / 16 round 0}}}}{{#ifexpr:{{#var:in}} > 0|{{#vardefine:out|{{#sub:0123456789ABCDEF|{{expr:{{#var:in}} mod 16}}|1}}{{#var:out}}}}{{#vardefine:in|{{#expr:{{#var:in}} / 16 round 0}}}}{{#ifexpr:{{#var:in}} > 0|{{#vardefine:out|{{#sub:0123456789ABCDEF|{{expr:{{#var:in}} mod 16}}|1}}{{#var:out}}}}{{#vardefine:in|{{#expr:{{#var:in}} / 16 round 0}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}{{#var:out}} | ||
<noinclude> | |||
{| | {| | ||
|<pre>{{LSL_Hex/Write|1843}}</pre> | |<pre>{{LSL_Hex/Write|1843}}</pre> |
Revision as of 14:40, 13 February 2007
0
{{LSL_Hex/Write|1843}} |
000 |
{{LSL_Hex/Write|-1}} |
000000000 |