Jump to content

User:Kri/Backup of HexadecimalDigit/doc

From Wikipedia, the free encyclopedia

Converts a number between 0 and 15 to a hexadecimal digit.

Usage

[edit]

{{HexadecimalDigit|number}}

Examples

[edit]
  • {{HexadecimalDigit|0}} gives 0
  • {{HexadecimalDigit|1}} gives 1
  • {{HexadecimalDigit|2}} gives 2
  • {{HexadecimalDigit|3}} gives 3
  • {{HexadecimalDigit|4}} gives 4
  • {{HexadecimalDigit|5}} gives 5
  • {{HexadecimalDigit|6}} gives 6
  • {{HexadecimalDigit|7}} gives 7
  • {{HexadecimalDigit|8}} gives 8
  • {{HexadecimalDigit|9}} gives 9
  • {{HexadecimalDigit|10}} gives A
  • {{HexadecimalDigit|11}} gives B
  • {{HexadecimalDigit|12}} gives C
  • {{HexadecimalDigit|13}} gives D
  • {{HexadecimalDigit|14}} gives E
  • {{HexadecimalDigit|15}} gives F
  • {{HexadecimalDigit|16}} gives N/A
  • {{HexadecimalDigit|-1}} gives N/A

See also

[edit]