Template:Dec2hex/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Dec2hex. It contains usage information, categories and other content that is not part of the original template page. |
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/doc at Wikipedia, the free Terran-based encyclopedia that anyone can edit.