-
「Functions HI-TECH C ATOF」の版間の差分
提供: HI-TECH C for CP/M Fan WIKI(JP)
(ページの作成:「<strong>ATOF, ATOI, ATOL</strong> ==概要== #include <math.h> double atof(char * s) int atoi(char * s) #include <stdlib.h> long atol(char * s) ==...」) |
(相違点なし)
|
2017年12月13日 (水) 12:05時点における最新版
ATOF, ATOI, ATOL
概要
#include <math.h> double atof(char * s) int atoi(char * s) #include <stdlib.h> long atol(char * s)
詳細
これらの関数は文字列引数のsを10進数からそれぞれdouble float、int、long intに変換します。atof()の場合、数値を科学表記にすることがあります