:: reverse dictionary ::
※ソースファイルについて
小数点第1位で四捨五入するには、round 関数を使います。
$np4 = round(0.4); $np5 = round(0.5); $np6 = round(0.6);
$np4 は 0 、$np5 は 1 、$np6 は 1 になります。
doubleround(doublen)
小数点数 n を小数点第1位で四捨五入した整数に丸めます。
n … 小数点第1位で四捨五入する小数点数
小数点第1位で四捨五入した整数
PHP3 、PHP4 、PHP5
Copyright (C) 2005-2007 Noto Watabe. All rights reserved.
e-mail:wmh@always-pg.com