Skip to Content

DEC2OCT

Converts a decimal number to octal

Syntax

DEC2OCT(number, [places])

Parameters

  • number: Required. The decimal integer you want to convert
  • places: Optional. The number of characters to use

Example

=DEC2OCT(58, 3)
Returns: StringSince: Excel 2003