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}}}}{{#var:in}}<noinclude> | {{#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}}}}{{#var:in}} = {{#var:out}}<noinclude> | ||
{| | {| | ||
|<pre>{{LSL_Hex/Write|1843}}</pre> | |<pre>{{LSL_Hex/Write|1843}}</pre> |
Revision as of 14:49, 13 February 2007
0 = 0
{{LSL_Hex/Write|1843}} |
115 = 0 |
{{LSL_Hex/Write|-1}} |
268435456 = 0 |