Member of the string class.
c = hex2dec(a)
Converts a hexadecimal number represented by a string to a decimal number.
| Name | Description |
| a | Specifies a hexadecimal number. Valid hexadecimal characters are: 0-9, a, b, c, d, e, f. You also can use the following characters: 0-9, A, B, C, D, E and F. a is a string. |
| Name | Description |
| c | Returns a decimal number equivalent to a. c is an integer. |
A = '10aaf'
C = hex2dec(A)