C / stdlib.h / atof
abort, abs, atexit, » atof, atoi, atol, bsearch, calloc, div, exit, free, getenv, labs, ldiv, malloc, mble, mbstowcs, mbtowc, qsort, rand, realloc, srand, strtod, strtol, strtoul, system, wctomb,
Funcion: atof()
Sintaxis:
double atof(const char *numPtr);

Descripcion: Convierte la porción inicial de la cadena apuntada por numPtr a una representación de double.


Ejemplo:
#include <stdio.h>
#include <stdlib.h>
 
int main()
{
   char numPtr[11] = "123.456789";
 
   printf( "Convirtiendo la cadena \"%s\" en un numero: %f\n", numPtr, atof(numPtr) );
 
   return 0;
}

Librerias C

Librerias ANSI C
   string.hcstring
   math.hcmath
   stdio.hcstdio
   time.hctime
   stdlib.hcstdlib
   ctype.hcctype
   locale.hclocale
   signal.hcsignal
   setjmp.hcsetjmp

Librerias Borland
   conio.h
   graphics.h