* Converts ASCII string to floating point number. * * This function converts the initial portion of the string pointed to * by nptr to double floating point representation. The behavior is the * same as * * pj_strtod(nptr, (char **)NULL); * * This function does the same as standard atof(3), but does not take * locale in account. That means, the decimal delimiter is always '.' * (decima
| 60 | * @return Converted value. |
| 61 | */ |
| 62 | double pj_atof( const char* nptr ) |
| 63 | { |
| 64 | return pj_strtod(nptr, nullptr); |
| 65 | } |
| 66 | |
| 67 | |
| 68 | /************************************************************************/ |
no test coverage detected