nptr
A pointer to the character string to be converted to a double-
precision number.
endptr
The address of an object where the function can store the address
of the first unrecognized character that terminates the scan. If
endptr is a NULL pointer, the address of the first unrecognized
character is not retained.