floatval()
double (変数);
$a = "123.456banban"; print "普通の変数 ". $a. "<br>\n"; print "浮動小数点数 ". floatval($a);
PageTop / Home / PHP入門 / リファレンス目次