## 例

`

     number bindec ( string $binary_string )

`

## 説明

Returns the decimal equivalent of the binary number represented by the binary_string argument. bindec() converts a binary number to an integer or, if needed for size reasons, float. bindec() interprets all binary_string values as unsigned integers. This is because bindec() sees the most significant bit as another order of magnitude rather than as the sign bit.

## 戻り値

The decimal value of binary_string