Template:Hex2dec
Appearance
This template provides a simple hex to decimal conversion.
Usage
- {{hex2dec|0x0000}} → Template:Hex2dec/main
- {{hex2dec|0xA0}} → Template:Hex2dec/main
- {{hex2dec|0x7C0}} → Template:Hex2dec/main
- {{hex2dec|0xFFFF}} → Template:Hex2dec/main
- {{hex2dec|0x845FED}} → Template:Hex2dec/main
- {{hex2dec|0x75BCD15}} → Template:Hex2dec/main
- {{hex2dec|0xDEADBEEF}} → Template:Hex2dec/main
- {{hex2dec|0xFFFFFFFF}} → Template:Hex2dec/main
- Input formats
Input with or without 0x prefix:
- {{hex2dec|0xa0}} → Template:Hex2dec/main
- {{hex2dec|a0}} → Template:Hex2dec/main
Uppercase and lowercase accepted:
- {{hex2dec|A0}} → Template:Hex2dec/main
- {{hex2dec|a0}} → Template:Hex2dec/main
- Not a number input
- {{hex2dec|}} → Template:Hex2dec/main
- {{hex2dec}} → Template:Hex2dec/main
- {{hex2dec|0xAXYZ}} → Template:Hex2dec/main
- {{hex2dec|XYZ}} → Template:Hex2dec/main
- {{hex2dec|0xA B}} → Template:Hex2dec/main
- {{hex2dec|A B}} → Template:Hex2dec/main
Pages that use this Template
|
Templates that use this Template
|