SpreadJS Documentation
BIN2DEC
SpreadJS Documentation > Formula Reference > Formula Functions > BIN2DEC

This function converts a binary number to a decimal number.

Syntax

BIN2DEC(number)

Arguments

For the argument of this function, specify the binary numeric value to convert.

Remarks

An error value is returned if the number contains more than 10 digits or is invalid.

Data Types

Accepts numeric data. Returns numeric data.

Examples

BIN2DEC(1111111)

See Also