小数点以下第2位で四捨五入
$num2 = round($num1,2);
echo $num2;
これで$num2は小数点第二位まで表示されます。(12.22、5053.35など)
http://www.edumobile.org/iphone/iphone-programming-tutorials/tabbarcontroller-with-navigationcontroller-and-tableview-in-iphone/
http://iphone-app-developer.seesaa.net/article/130194298.html
graffiti on the web
この投稿へのコメント
コメントはまだありません。