Difference between revisions of "Hex"
From Sonic Retro
BSonirachi (talk | contribs) (Created page with "<includeonly><tt><b>{{{1}}}</b></tt></includeonly><noinclude> This template displays a hexadecimal value with the appropriate formatting. ==Example== <tt><nowiki>{{hex|0123}}...") |
BSonirachi (talk | contribs) m (Text replacement - "Category:Sonic Retro templates" to "Category:Templates") |
||
Line 9: | Line 9: | ||
<tt><nowiki>{{hex|0x1800}}</nowiki></tt> returns {{hex|0x1800}}. | <tt><nowiki>{{hex|0x1800}}</nowiki></tt> returns {{hex|0x1800}}. | ||
− | [[Category: | + | [[Category:Templates]]</noinclude> |
Latest revision as of 19:17, 1 January 2022
This template displays a hexadecimal value with the appropriate formatting.
Example
{{hex|0123}} returns 0123.
{{hex|$78000}} returns $78000.
{{hex|0x1800}} returns 0x1800.