TRUECALC
Functions

HEX2BIN

Convert hexadecimal to binary

Try it

When to use it

When should I use HEX2BIN?

Use HEX2BIN to convert a hexadecimal string to its binary (base-2) string representation, optionally zero-padded — useful when decoding bitmasks or hardware register values stored in hex.

Used in

engineering

Syntax

HEX2BIN(number, [places])

On this page