-
Notifications
You must be signed in to change notification settings - Fork 7
atof(3)
Seonghun Lim edited this page Mar 18, 2018
·
1 revision
atof - 문자열을 double로 변환하기
#include <stdlib.h>
double atof(const char *nptr);atof() 함수는 nptr이 가리키는 문자열의 처음 부분을 double로 변환한다. 다음과 동작이 같되, atof()에서는 오류를 감지하지 않는다.
strtod(nptr, NULL);변환한 값.
이 절에서 사용하는 용어들에 대한 설명은 attributes(7)를 보라.
| 인터페이스 | 속성 | 값 |
|---|---|---|
atof() |
스레드 안전성 | MT-Safe locale |
POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD.
atoi(3), atol(3), strfromd(3), strtod(3), strtol(3), strtoul(3)
2016-12-12