Leading the way in Microsoft Office Development
 Home|Excel|Word|PowerPoint|Consultancy|Feedback|Contact 
 Microsoft Excel > Functions > Engineering > OCT2DEC

 

OCT2DEC(number)

 
 Returns the number converted from octal to decimal.

 numberThe octal number you want to convert.

 REMARKS
 
  • This function is only available if you have the Analysis ToolPak add-in installed.
     
  • If "number" is not a valid octal number, then #NUM! is returned.
     
  • If "number" contains more than 10 characters (10 bits), then #NUM! is returned.
     
  • If "number" does not contain more than 10 octal characters (30 bits), then the most significant bit of number is the sign bit. The remaining 29 bits are magnitude bits.
     
  • Any negative numbers are represented using two's-complement notation.

     EXAMPLES
     
     A
    1=OCT2DEC(54) = 44
    2=OCT2DEC("54") = 44
    3=OCT2DEC(7777777533) = -165
    4=OCT2DEC(123456789123) = #NUM!
    5=OCT2DEC("some text") = #NUM!
     

     Functions - O | Index - O | Office Online 

     Copyright © 2004-2007 Better Solutions Limited. All Rights Reserved.Top