Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: stdlib.h

strtod()

IMPORT_C double strtod(const char *_n, char **_end_PTR);

Description

Convert string to double-precision floating-point value. Parses string interpreting its content as a floating-point value until a character that can not be interpreted is found, and returns a double precision value.

Parameters

const char *_n

String representing a floating point number.

char **_end_PTR

Address of a pointer. This is filled by the function with the address where scan has ended. Serves to determine where there is the first non-numerical character in the string.

Return value

double

The converted double value from the input string. If an error occurs 0 is returned.