strtod [C++ Reference]
Keywords: c,string,strtod
Date: 2008-10-14T15:42:03-0700

[[strtod]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- cz
- de
- es
- fr
- it
- jp
- nl
- pl
- ro
- ru
- sk
- tr
- tw

## strtod

Syntax:

        #include <cstdlib>
        double strtod( const char *start, char **end );

The function strtod() returns whatever it encounters first in start as a double. end is set to point at whatever is left in start after that double. If overflow occurs, strtod() returns either HUGE_VAL or -HUGE_VAL.

Related Topics: atof

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •