Syntax
=HEX2BIN(number, [places])Arguments
| Argument | Required | Description |
|---|---|---|
number | Required | The hexadecimal number (up to 10 characters) |
places | Optional | The number of characters to use (left out: as few as needed) |
How to use HEX2BIN
HEX2BIN takes 1 required argument and 1 optional argument. Type =HEX2BIN( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.
Examples
Each result below was calculated by the SheetsBat formula engine.
=HEX2BIN("F", 8)Result =HEX2BIN("B7")Result =HEX2BIN("FFFFFFFFFF")Result Related engineering functions
- ERF.PRECISEReturns the error function integrated between zero and a limit.
- ERFCReturns the complementary error function integrated between a value and infinity.
- ERFC.PRECISEReturns the complementary error function integrated between a value and infinity.
- GESTEPReturns 1 when a number is greater than or equal to a step value and 0 otherwise.
- HEX2DECConverts a hexadecimal number to decimal.
- HEX2OCTConverts a hexadecimal number to octal.
- IMABSReturns the absolute value (modulus) of a complex number.
- IMAGINARYReturns the imaginary part of a complex number.
- IMARGUMENTReturns the angle (argument) of a complex number, in radians.