Minecraft Wiki
Advertisement
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more information
Shortcut
Lua logo
This template uses Module:Convert base, a script written in Lua.

This is a simple to use tool for dynamically converting decimal values to hexadecimal values. It outputs in a 6 character hex format and so can take decimal numbers up to 9999999999999999999.

Code

In full the template code is as follows:

{{Hexadecimal|1234}}

But it is much easier to use it through the redirect dec-hex which allows it to be written out as:

{{Dec-hex|1234}}

Both of which will output 4D2.

See also

Advertisement