Jump to: navigation, search

Template:Decimal to hexadecimal converter/doc

< Template:Decimal to hexadecimal converter
Revision as of 17:07, 4 January 2014 by MrTJP (talk | contribs) (Created page with "{{doc/start}} {{shortcut|dec-hex}} 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 ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template-info.png Documentation
Shortcut
dec-hex

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 16777215. The currently system implemented for truncating preceding 0's allows for outputs in 2, 3, and 6 character hex format based on the input.

Code

In full the template code is as follows:

{{Decimal to hexadecimal converter|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.

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.



Cookies help us deliver our services. By using our services, you agree to our use of cookies.