Member of the string class.
c = bin2dec(a)
Converts a binary number represented by a string to a decimal number.
| Name | Description |
| a | Specifies a binary string with digits 0 and 1. |
| Name | Description |
| c | Returns a decimal number equivalent to a. LabVIEW considers letters or digits other than 0 and 1 in a to be zeros. |
A = '101111011'
C = bin2dec(A)