Convert base-10 numbers to hex with prefix and case options.
Enter a valid decimal number (e.g. 255 or 1.5).
Hex is position-16 notation using 0–9 then A–F: FF = 15·16 + 15 = 255. Each hex digit is exactly 4 bits.