Plantilla:Decimal to hexadecimal converter

Revisión del 22:03 10 oct 2014 de Lxuser (discusión | contribs.)
(difs.) ← Revisión anterior | Revisión actual (difs.) | Revisión siguiente → (difs.)
Documentación
Atajo
dec-hex
Esta plantilla usa Módulo:Convert base, un script escrito en el lenguaje de programación Lua. Por favor lea mw:Lua y mw:Extension:Scribunto para saber más del lenguaje 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:

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

See also

La documentación anterior se transcluye de Plantilla:Decimal to hexadecimal converter/doc. (edit | history)