Template:Hex2dec

From blackwiki
Revision as of 22:36, 29 January 2011 by imported>Plastikspork (Protected Template:Hex2dec: Highly visible template ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
Jump to navigation Jump to search

0

50px Template documentation[view] [edit] [history] [purge]

Usage

  • {{hex2dec|0x0000}} → 0
  • {{hex2dec|0xA0}} → 0
  • {{hex2dec|0x7C0}} → 0
  • {{hex2dec|0xFFFF}} → 0
  • {{hex2dec|0x845FED}} → 0
  • {{hex2dec|0x75BCD15}} → 0
  • {{hex2dec|0xDEADBEEF}} → 0
  • {{hex2dec|0xFFFFFFFF}} → 0
Input formats

Input with or without 0x prefix:

  • {{hex2dec|0xa0}} → 0
  • {{hex2dec|a0}} → 0

Uppercase and lowercase accepted:

  • {{hex2dec|A0}} → 0
  • {{hex2dec|a0}} → 0
Not a number input
  • {{hex2dec|}} → 0
  • {{hex2dec}} → 0
  • {{hex2dec|0xAXYZ}} → 0
  • {{hex2dec|XYZ}} → 0
  • {{hex2dec|0xA B}} → 0
  • {{hex2dec|A B}} → 0

See also