Return 0 if hex_to_int is passed an empty string