Decode hex values (0x optional) back to decimal and binary.
Only hex digits 0–9 and A–F (with an optional 0x prefix), plus one optional fraction point.
A digit contributes d·16ⁿ, so 0xA3 = 10·16 + 3 = 163.