Template:Pseudo-decimal to hex

From QBWiki
Revision as of 20:24, 20 June 2022 by 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)}}}}<!--...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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