SDL_atof - Man Page
Parse a double from a string.
Synopsis
#include <SDL3/SDL_stdinc.h> double SDL_atof(const char *str);
Description
The result of calling SDL_atof(str) is equivalent to SDL_strtod(str, NULL).
Function Parameters
- str
The null-terminated string to read. Must not be NULL.
Return Value
Returns the parsed double.
Thread Safety
It is safe to call this function from any thread.
Availability
This function is available since SDL 3.2.0.
See Also
SDL_atoi(3), SDL_strtol(3), SDL_strtoul(3), SDL_strtoll(3), SDL_strtoull(3), SDL_strtod(3)
Referenced By
SDL_atoi(3), SDL_strtod(3), SDL_strtol(3), SDL_strtoll(3), SDL_strtoul(3), SDL_strtoull(3).
SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS