# BIN2DEC

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 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)`

## Version Available

This function is available in product version 2.0 or later.

## See Also

[BIN2HEX](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsAtoC/FunctionBIN2HEX) \| [BIN2OCT](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsAtoC/FunctionBIN2OCT) \| [DEC2BIN](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsDtoG/FunctionDEC2BIN) \| [OCT2DEC](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsMtoQ/FunctionOCT2DEC) \| [Engineering Functions](/spreadnet/docs/latest/online-formula/formulas-overview/formulas-functs/formulas-functtypes/formulas-functsengineer)