Formula Functions > Functions M to Q > OCT2HEX |
This function converts an octal number to a hexadecimal number.
OCT2HEX(number,places)
This function has these arguments:
Argument | Description |
---|---|
number | Octal numeric value to convert, must be 10 characters or less |
places | [Optional] Number of characters to return; if not an integer, the number is truncated |
An error value is returned if the number is invalid or if places is non-numeric or negative. If places is omitted, the calculation uses the minimum number of characters necessary. This argument is useful for adding leading zeros to the result.
Accepts numeric data. Returns numeric data.
OCT2HEX(7777)
This function is available in product version 2.0 or later.
OCT2BIN | OCT2DEC | HEX2OCT | DEC2OCT | Engineering Functions