hex2dec
Convert number in base 16 to decimal.
📝 Syntax
D = hex2dec(TXT)
📥 Input argument
TXT - a char array.
📤 Output argument
D - result of hex2dec: an integer value.
📄 Description
hex2dec converts number in base 16 to decimal.
Note:
hex2dec and dec2hex are inverses of one another.
💡 Example
bin2dec('11')🔗 See also
🕔 History
Version
📄 Description
1.0.0
initial version
Last updated
Was this helpful?