Assuming you're referring to the do_to_integer(<<>>) clause,  it's needed in case the function is passed the empty string.