Finance

Charts

Statistics

Macros

Search

How to use the OCT2HEX() function in Excel

This function converts an octal number into a hexadecimal number.

Syntax
OCT2HEX(number; [places])

Arguments

  • number(required)
    The (at most) 10-digit octal number in two’s complement notation (see the section titled Two’s Complement) that is to be converted into a hexadecimal number. If number has a negative value, a 10-digit hexadecimal number is returned.
  • places(optional)
    Determines how many digits are to be displayed, and is used to display leading zeros in the result. If the argument places is omitted, only the required number of digits is displayed. Possible decimal places after the decimal point are ignored.

Background
See the detailed description in the section titled Number Systems in the introduction to these functions (Number Systems).

Examples
The following examples illustrate OCT2HEX():

0 0 votes
Évaluation de l'article
S’abonner
Notification pour
guest
0 Commentaires
Le plus ancien
Le plus récent Le plus populaire
Online comments
Show all comments
Facebook
Twitter
LinkedIn
WhatsApp
Email
Print
0
We’d love to hear your thoughts — please leave a commentx