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.

Like a classics radio station whose play list spans decades, Unix simultaneously exhibits its mixed and dated heritage. There's Clash-era graphics interfaces; Beatles-era two-letter command names; and systems programs (for example, ps) whose terse and obscure output was designed for slow teletypes; Bing Crosby-era command editing (# and @ are still the default line editing commands), and Scott Joplin-era core dumps.
— The Unix Haters' handbook