# OCT2DEC

Spread for WinForms provides advanced software components that support Excel import/export, full cell customization, an extensive calculation engine with over 450 functions and more, all with zero dependencies on Excel.

## Content



This function converts an octal number to a decimal number.

## Syntax

OCT2DEC(*number*)

## Arguments

Specify the octal number to convert. The number should not contain more than 10 octal characters. An error value is returned if the number is invalid.

## Data Types

Accepts numeric data. Returns numeric data.

## Examples

`OCT2DEC(7777)`

## Version Available

This function is available in product version 2.0 or later.

## See Also

[OCT2BIN](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsMtoQ/FunctionOCT2BIN) \| [OCT2HEX](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsMtoQ/FunctionOCT2HEX) \| [HEX2DEC](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsFtoK/FunctionHEX2DEC) \| [DEC2OCT](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsDtoG/FunctionDEC2OCT) \| [Engineering Functions](/spreadnet/docs/latest/online-formula/formulas-overview/formulas-functs/formulas-functtypes/formulas-functsengineer)