Syntax
=OCT2HEX(number, [places])Arguments
| Argument | Required | Description |
|---|---|---|
number | Required | The octal number (up to 10 characters) |
places | Optional | The number of characters to use (left out: as few as needed) |
How to use OCT2HEX
OCT2HEX takes 1 required argument and 1 optional argument. Type =OCT2HEX( 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.
=OCT2HEX(100, 4)Result =OCT2HEX(7777777533)Result Related engineering functions
- IMSECHReturns the hyperbolic secant of a complex number.
- IMSINReturns the sine of a complex number.
- IMSINHReturns the hyperbolic sine of a complex number.
- IMSQRTReturns the square root of a complex number.
- IMSUBReturns the difference of two complex numbers.
- IMSUMReturns the sum of complex numbers.
- IMTANReturns the tangent of a complex number.
- OCT2BINConverts a octal number to binary.
- OCT2DECConverts a octal number to decimal.