SpreadJS Documentation
OCT2DEC
SpreadJS Documentation > Formula Reference > Formula Functions > OCT2DEC

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)

See Also