OCT2HEX function
Converts an octal number to hexadecimal
Syntax
OCT2HEX(number, [places])Square brackets indicate optional arguments.
Arguments
| Argument | Required | Meaning |
|---|---|---|
| number | Yes | The octal number you want to convert.100 |
| places | No | The number of characters to use.4 |
Try OCT2HEX
Convert a base representation with OCT2HEX
=OCT2HEX(A2,B2)Octal 123 equals decimal 83 and hexadecimal 53. Four places produce 0053. These small positive examples avoid signed two-complement limits.
Inspect the current formula
Read its written arguments or observe actual operation values in a separate local calculation. This action neither applies a draft nor grades an answer.
Read the formula, one argument at a time
Explore the written function calls and their inputs. The calculation result belongs to the complete formula.
OCT2HEX · top-level call
=OCT2HEX(A2,B2)Follow the cells behind a result
Read explicit local references and helper formulas using a separate calculation. Your draft stays in this field; the worksheet and practice checks do not change.
The worksheet runs locally. Published checks apply to the supplied example only. Native Excel and Google Sheets compatibility remain unverified.
Reference and compatibility
Univer 1.0.4 / Apache-2.0. Calculation checks cover the supplied examples only. The browser worksheet does not implement every Excel feature, external service or connected data type.