Convert char to float

Michael J. Eager eager at ringworld.Eng.Sun.COM
Fri Dec 21 14:23:37 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. 


RTFM:
STRTOD(3)              C LIBRARY FUNCTIONS              STRTOD(3)

NAME
     strtod, atof - convert string to double-precision number

     ...



More information about the Comp.lang.c mailing list