Template:Dec2hex
Jump to navigation
Jump to search
0
Usage[edit source]
Works for all values in the range 0–4294967295.
- {{dec2hex|0}} → 0
- {{dec2hex|160}} → A0
- {{dec2hex|1984}} → 7C0
- {{dec2hex|65535}} → FFFF
- {{dec2hex|8675309}} → 845FED
- {{dec2hex|123456789}} → 75BCD15
- {{dec2hex|3735928559}} → DEADBEEF
- {{dec2hex|4294967295}} → FFFFFFFF
- digits
- Specify how many digits are show [2,8]. Example: {{dec2hex|65535|digits=8}} → FFFF
External links[edit source]
- Template:Dec2hex at Wikipedia, the free Terran-based encyclopedia that anyone can edit.
The above documentation is transcluded from Template:Dec2hex/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |