Difference between revisions of "Template:Pseudo-decimal to hex"
Jump to navigation
Jump to search
Kevin Wang (talk | contribs) (Created page with "<onlyinclude>{{#vardefine:i|0}}{{#while:<!-- -->|{{#vardefineecho:s|{{#explode:{{{1|0.0.0}}}|.|{{#var:i}}}}}}<!-- -->|{{#vardefine:first|{{#expr:floor({{#var:s}} / 16)}}}}<!--...") |
(No difference)
|
Revision as of 20:24, 20 June 2022
00 Shortcut Template:Dec to hex.
| Input | Output |
|---|---|
{{Pseudo-decimal to hex|0.0.0}}
|
00 |
{{Pseudo-decimal to hex|255.255.255}}
|
ffffff |
{{Pseudo-decimal to hex|127.12.80}}
|
7f0c50 |
{{Pseudo-decimal to hex|0.99.200}}
|
0063c8 |