Template:HexDec

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:HexDec/doc.

Convert a string representing an integer from hexadecimal to decimal.

Usage

{{DecHex |1= }}

  • If the input is an empty string, the result is an empty string.
  • Valid inputs are limited to unsigned 64-bit integers (with up to 16 hexadecimal digits).

Template parameters

ParameterDescriptionDefaultStatus
1an hexadecimal integeremptyoptional

Additional information

The template is intended to be used in the following namespaces: no namespace specified

The template is intended to be used by the following user groups: no user group specified

Relies on:

See also

Localization

This template is not intended to be localized.