hexToDenary

Converts a hex from string into unsigned integer

hexToDenary
(
string hex
)

Examples

assert("A1".hexToDenary == 161);

Meta