Atof

提供:GizmoLabs - だいたい CAD LISP なサイト
2015年8月11日 (火) 10:42時点におけるGizmon (トーク | 投稿記録)による版
構文
(atof string)


機能
文字列を実数に変換する。


引数
  • string : 実数に変換する文字列。


戻り値
実数。


サンプル
(atof "97.1") 
97.1

(atof "3") 
3.0

(atof "3.9") 
3.9

(atof "0.0") 
0.0

(atof "あ?") 
0.0



関連事項