> For the complete documentation index, see [llms.txt](https://docs.nedyx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nedyx.com/version-1.66/nedyx/clearlines-functions/mathematical-functions/bintodec.md).

# BINTODEC

Returns a decimal number from a binary value.

#### Syntax

**BINTODEC**(*binValue*)

1. *binValue* - the binary value which should be converted to a decimal number - ***Value type**: text*

#### Remarks

1. The function returns the decimal representation of *binValue*, as value type *number*.
2. A negative *binValue* returns a negative decimal number.

**Examples**

*Example 1* - BINTODEC of a single value:

<figure><img src="https://1085786630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWv5M2BoEVu0kDIV5EPs4%2Fuploads%2Fgit-blob-70992dec5e204cad0261d21d0492e51d8b231642%2Fgrafik.png?alt=media" alt=""><figcaption></figcaption></figure>

*Example 2* - BINTODEC for a range of values:

<figure><img src="https://1085786630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWv5M2BoEVu0kDIV5EPs4%2Fuploads%2Fgit-blob-415265f6251c979128e609339cd387eb68418741%2Fgrafik.png?alt=media" alt=""><figcaption></figcaption></figure>
