Function Block HEX2DEC

The Function Block HEX2DEC converts a hexadecimal value to a decimal value.

Input

The input expects a string. The value must be a hexadecimal number. For example, "ff". Leading zeros are irrelevant.

Output

The output returns the decimal value as an integer.