Convert char to float

Jon Whellams mgjmw at research.cc.flinders.oz
Fri Dec 21 16:41:16 AEST 1990


In article <5051 at gara.une.oz.au> swijaya at gara.une.oz.au (Sastra Wijaya STMA) writes:
>I need to know how to convert a char variable into a float. The problem 

Look up atof()..this will convert a string to a double
Under MSC you'll have to #include "stdlib.h"



More information about the Comp.lang.c mailing list