Àdàkọ:Dec2hex
Ìrísí
0x00
Usage
[àtúnṣe àmìọ̀rọ̀]Works for all values in the range 0–4294967295.
- {{dec2hex|0}} → 0x00
- {{dec2hex|160}} → 0xA0
- {{dec2hex|1984}} → 0x7C0
- {{dec2hex|65535}} → 0xFFFF
- {{dec2hex|8675309}} → 0x845FED
- {{dec2hex|123456789}} → 0x75BCD15
- {{dec2hex|3735928559}} → 0xDEADBEEF
- {{dec2hex|4294967295}} → 0xFFFFFFFF
- digits
- Specify how many digits are show [2,8]. Example: {{dec2hex|65535|digits=8}} → 0x0000FFFF
See also
[àtúnṣe àmìọ̀rọ̀]The above documentation is transcluded from Àdàkọ:Dec2hex/doc. (àtúnṣe | ìtàn) 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. |