DOKK / manpages / debian 10 / allegro4-doc / uatof.3alleg4.en
uatof(3alleg4) Allegro manual uatof(3alleg4)

uatof - Converts a string into a double. Allegro game programming library.

#include <allegro.h>

double uatof(const char *s);

Convert as much of the string as possible to an equivalent double precision real number. This function is almost like `ustrtod(s, NULL)'.

Returns the equivalent value, or zero if the string does not represent a number.

uconvert(3alleg4), ustrtol(3alleg4), ustrtod(3alleg4)

version 4.4.2 Allegro