tail head cat sleep
QR code linking to this page

manページ  — ATOF

名称

atof – ASCII 文字列を倍精度浮動小数点数に変換する

内容

ライブラリ

Standard C Library (libc, -lc)

書式

#include <stdlib.h>

double
atof(const char *nptr);

解説

atof() 関数は、 nptr が指している文字列の最初の部分を、 double 表現に変換します。

これは次と同等です。

strtod(nptr, (char **)NULL);

関連項目

atoi(3), atol(3), strtod(3), strtol(3), strtoul(3)

規格

atof() 関数は ISO/IEC 9899:1990 ("ISO C90") に適合しています。

ATOF (3) June 4, 1993

tail head cat sleep
QR code linking to this page


このマニュアルページサービスについてのご意見は Ben Bullock にお知らせください。 Privacy policy.

“ The most important thing in the programming language is the name. A language will not succeed without a good name. I have recently invented a very good name and now I am looking for a suitable language. ”
— Donald Knuth