SDL_atof3
Parse a double from a string.
Usage
#include "SDL3/SDL.h"
double SDL_atof(const char *str);
Header file
Defined in SDL3/SDL_stdinc.h
Overview
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.