atof

Converts given string to double.

extern (C) nothrow @nogc extern
double
atof
(
const(char)* str
)

Parameters

str const(char)*

string to convert.

Return Value

Type: double

The floating point value of str on success, 0.0 on failure.

Meta