Plantilla:Decimal to hexadecimal converter

De WikiMinecraft
Revisión del 07:47 31 mar 2014 de Bth0 (discusión | contribuciones) (Página creada con «<!-- if one -->{{#ifeq:<!-- if -->{{#expr:255<{{{1|256}}}}}|0|<!-- then 2 digit code -->{{Decimal to hexadecimal converter/Switch|<!-- ---->{{#expr:<!-- -----...»)
(dif) ← Revisión anterior | Revisión actual (dif) | Revisión siguiente → (dif)
Saltar a: navegación, buscar

FFFFFF

Documentation

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 imput.

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.