Pang-bô͘:Hex2dec
Guā-māu
0
Pang-bô͘ bûn-su[chhâ-khòaⁿ] [pian-chi̍p] [le̍k-sú] [kun-sin]
Sú-iōng Lua thêng-sek: |
Usage
[kái goân-sí-bé]{{hex2dec|0x0000}} → 0
{{hex2dec|0xA0}} → 160
{{hex2dec|0x7C0}} → 1984
{{hex2dec|0xFFFF}} → 65535
{{hex2dec|0x845FED}} → 8675309
{{hex2dec|0x75BCD15}} → 123456789
{{hex2dec|0xDEADBEEF}} → 3735928559
{{hex2dec|0xFFFFFFFF}} → 4294967295
- Input formats
Input with or without 0x prefix:
{{hex2dec|0xa0}} → 160
{{hex2dec|a0}} → 160
Uppercase and lowercase accepted:
{{hex2dec|A0}} → 160
{{hex2dec|a0}} → 160
- Not a number input
{{hex2dec|}} → 0
{{hex2dec}} → 0
{{hex2dec|0xAXYZ}} → 0
{{hex2dec|XYZ}} → 0
{{hex2dec|0xA B}} → 0
{{hex2dec|A B}} → 0
See also
[kái goân-sí-bé]- {{hexadecimal}}
|
Téng-bīn ê bûn-kiāⁿ sī tùi Pang-bô͘:Hex2dec/doc khàm-ji̍p--ê. (pian-chi̍p | le̍k-sú) Pian-chip-chiá ē-sái tī chit-ê pang-bô͘ ê soa-a̍p (chhòng-kiàn | mirror) kap chhì-giām-kheh-suh (chhòng-kiàn) ia̍h-bīn chò si̍t-giām. Chhiáⁿ tī chú-ia̍h-bīn /doc lāi-bīn ka-thiam lūi-pia̍t. Pún pang-bô͘ ê chú-ia̍h-bīn. |