bin2dec
Convert number in base 2 to decimal.
Syntax
D = bin2dec(TXT)
Input argument
TXT - a char array.
Output argument
D - result of bin2dec: an integer value.
Description
bin2dec converts number in base 2 to decimal.
Note:
- bin2dec and dec2bin are inverses of one another.
Example
See also
History
Version
Description
1.0.0
initial version
Author
Allan CORNET
Last updated