:: reverse dictionary ::
※ソースファイルについて
◎各マークの意味
Pb:pubic Pr:protected S:static
小数点数の小数点以下を切り捨てた値にするには、Math クラスの floor メソッドを使います。
double plus, minus;
plus = Math.floor(4.321);
minus = Math.floor(-5.6789);
plus は 4.0 、minus は -6.0 になります。
java.lang.Math PbSdoublefloor(doublen)
小数点数 n の小数点以下を切り捨てた値を求めます。 n 以下の整数のうち、最大の整数を返します。
n … 小数点以下を切り捨てる数値
小数点以下を切り捨てた数値
Copyright (C) 2005-2007 Noto Watabe. All rights reserved.
e-mail:wmh@always-pg.com