Serial Input - Parsing multiple formats

Look at the endptr argument.