There are many times when you want it to ignore the rest of the string just like atof() does. Oddly enough,calls atof(). How convenient.