ATOF
Section: Linux Programmer's Manual
(3)
Updated: March 29, 1993
Index
Return to Main Contents
이름
atof - 문자열을 double로 변환
사용법
#include <stdlib.h>
double atof(const char *nptr);
설명
atof() 함수는 nptr로 지정된 스트링의 최초 분할을
double로 변환한다.
-
strtod(nptr, (char **)NULL);
와 같은 효과를 발휘한다. atof()가 에러를 발견했을 경우만.
반환값
변환된 값.
호환
SVID 3, POSIX, BSD 4.3, ISO 9899
관련 항목
atoi(3), atol(3), strtod(3), strtol(3), strtoul(3)
Index
- 이름
-
- 사용법
-
- 설명
-
- 반환값
-
- 호환
-
- 관련 항목
-
This document was created by
man2html,
using the manual pages.
Time: 08:07:01 GMT, March 25, 2004