小数点以下第2位で四捨五入
$num2 = round($num1,2);
echo $num2;
これで$num2は小数点第二位まで表示されます。(12.22、5053.35など)
(.*?)/i”, $html, $matches) ) { //(3)
return $matches[1];
} else {
return false;
}
}
?>
参照元:http://creazy.net/2008/05/php_get_page_title_sample.html
graffiti on the web
この投稿へのコメント
コメントはまだありません。