changes to parseValue

added ‘.’ and ‘-‘ for if it is a number