Open main menu

Changes

Removed one sitelink migrated to an item on Wikidata
{{Documentation subpage}}
{{lua|Module:BaseConvert}}

=== Usage ===
*<tt><nowiki>{{hex2dec|0x0000}}</nowiki> → {{hex2dec|0x0000}}</tt>
*<tt><nowiki>{{hex2dec|0xA0}}</nowiki> → {{hex2dec|0xA0}}</tt>
*<tt><nowiki>{{hex2dec|0x7C0}}</nowiki> → {{hex2dec|0x7C0}}</tt>
*<tt><nowiki>{{hex2dec|0xFFFF}}</nowiki> → {{hex2dec|0xFFFF}}</tt>
*<tt><nowiki>{{hex2dec|0x845FED}}</nowiki> → {{hex2dec|0x845FED}}</tt>
*<tt><nowiki>{{hex2dec|0x75BCD15}}</nowiki> → {{hex2dec|0x75BCD15}}</tt>
*<tt><nowiki>{{hex2dec|0xDEADBEEF}}</nowiki> → {{hex2dec|0xDEADBEEF}}</tt>
*<tt><nowiki>{{hex2dec|0xFFFFFFFF}}</nowiki> → {{hex2dec|0xFFFFFFFF}}</tt>

;Input formats
Input with or without '''0x''' prefix:
*<tt><nowiki>{{hex2dec|0xa0}}</nowiki> → {{hex2dec|0xa0}}</tt>
*<tt><nowiki>{{hex2dec|a0}}</nowiki> → {{hex2dec|a0}}</tt>
Uppercase and lowercase accepted:
*<tt><nowiki>{{hex2dec|A0}}</nowiki> → {{hex2dec|0x00A0}}</tt>
*<tt><nowiki>{{hex2dec|a0}}</nowiki> → {{hex2dec|A0}}</tt>

;Not a number input
*<tt><nowiki>{{hex2dec|}}</nowiki> → {{hex2dec|}}</tt>
*<tt><nowiki>{{hex2dec}}</nowiki> → {{hex2dec}}</tt>

*<tt><nowiki>{{hex2dec|0xAXYZ}}</nowiki> → {{hex2dec|}}</tt>
*<tt><nowiki>{{hex2dec|XYZ}}</nowiki> → {{hex2dec|}}</tt>

*<tt><nowiki>{{hex2dec|0xA B}}</nowiki> → {{hex2dec|}}</tt>
*<tt><nowiki>{{hex2dec|A B}}</nowiki> → {{hex2dec|}}</tt>

=== See also ===
{{Math templates|numeral systems}}<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |

[[Category:Numerical conversion templates|{{PAGENAME}}]]

}}</includeonly>
Anonymous user