Syntax
=HEX2OCT(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 HEX2OCT
HEX2OCT takes 1 required argument and 1 optional argument. Type =HEX2OCT( 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.
=HEX2OCT("F", 3)Result =HEX2OCT("3B4E")Result =HEX2OCT("FFFFFFFF00")Result Related engineering functions
- 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.
- HEX2BINConverts a hexadecimal number to binary.
- HEX2DECConverts a hexadecimal number to decimal.
- 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.
- IMCONJUGATEReturns the complex conjugate of a complex number.
- IMCOSReturns the cosine of a complex number.