クラス
jp.finaluna.api.type.util.MathUtil.Round の使用

MathUtil.Round を使用しているパッケージ
jp.finaluna.api.type Javaの標準APIの型を内包した独自の型を定義する。 
jp.finaluna.api.type.util フレームワークのユーティリティを定義する。 
 

jp.finaluna.api.type での MathUtil.Round の使用
 

MathUtil.Round 型のパラメータを持つ jp.finaluna.api.type のメソッド
 DecimalType IntegerType.add(DecimalType val, int scale, MathUtil.Round round)
           この数値に、指定した値を加算した結果を取得する。
 DecimalType DecimalType.add(DecimalType augend, int scale, MathUtil.Round round)
           この数値に、指定した値を加算し、指定された丸め位置および丸めモードを用いて丸められた結果を取得する。
 DecimalType DecimalType.add(IntegerType augend, int scale, MathUtil.Round round)
           この数値に、指定した値を加算し、指定された丸め位置および丸めモードを用いて丸められた結果を取得する。
 DecimalType DecimalType.add(int augend, int scale, MathUtil.Round round)
           この数値に、指定した値を加算し、指定された丸め位置および丸めモードを用いて丸められた結果を取得する。
 DecimalType IntegerType.divide(DecimalType val, int scale, MathUtil.Round round)
           この数値に、指定した値を除算した結果を取得する。
 DecimalType DecimalType.divide(DecimalType divisor, int scale, MathUtil.Round round)
           この数値に、指定した値を除算した結果を取得する。
 DecimalType IntegerType.divide(IntegerType val, int scale, MathUtil.Round round)
           この数値に、指定した値を除算した結果を取得する。
 DecimalType DecimalType.divide(IntegerType divisor, int scale, MathUtil.Round round)
           この数値に、指定した値を除算した結果を取得する。
 DecimalType IntegerType.divide(int val, int scale, MathUtil.Round round)
           この数値に、指定した値を除算した結果を取得する。
 DecimalType DecimalType.divide(int divisor, int scale, MathUtil.Round round)
           この数値に、指定した値を除算した結果を取得する。
 IntegerType DecimalType.getInteger(MathUtil.Round round)
           この数値を、指定された丸めモードを適用した整数値で取得する。
 DecimalType IntegerType.multiply(DecimalType val, int scale, MathUtil.Round round)
           この数値に、指定した値を乗算した結果を取得する。
 DecimalType DecimalType.multiply(DecimalType multiplicand, int scale, MathUtil.Round round)
           この数値に、指定した値を乗算し、指定された丸め位置および丸めモードを用いて丸められた結果を取得する。
 DecimalType DecimalType.multiply(IntegerType multiplicand, int scale, MathUtil.Round round)
           この数値に、指定した値を乗算し、指定された丸め位置および丸めモードを用いて丸められた結果を取得する。
 DecimalType DecimalType.multiply(int multiplicand, int scale, MathUtil.Round round)
           この数値に、指定した値を乗算し、指定された丸め位置および丸めモードを用いて丸められた結果を取得する。
 DecimalType DecimalType.pow(int exponent, int precision, MathUtil.Round round)
           この数値を、指定の値でべき乗した値を取得する。
 DecimalType DecimalType.remainder(DecimalType divisor, int scale, MathUtil.Round round)
           この数値を、指定の値で除算した剰余を取得する。
 DecimalType DecimalType.remainder(int divisor, int scale, MathUtil.Round round)
           この数値を、指定の値で除算した剰余を取得する。
 DecimalType DecimalType.setScale(int scale, MathUtil.Round round)
           この丸め位置、丸めモードで設定された数値を返す。
 DecimalType IntegerType.subtract(DecimalType val, int scale, MathUtil.Round round)
           この数値に、指定した値を減算した結果を取得する。
 DecimalType DecimalType.subtract(DecimalType subtrahend, int scale, MathUtil.Round round)
           この数値に、指定した値を減算し、指定された丸め位置および丸めモードを用いて丸められた結果を取得する。
 DecimalType DecimalType.subtract(IntegerType subtrahend, int scale, MathUtil.Round round)
           この数値に、指定した値を減算し、指定された丸め位置および丸めモードを用いて丸められた結果を取得する。
 DecimalType DecimalType.subtract(int subtrahend, int scale, MathUtil.Round round)
           この数値に、指定した値を減算し、指定された丸め位置および丸めモードを用いて丸められた結果を取得する。
 

jp.finaluna.api.type.util での MathUtil.Round の使用
 

MathUtil.Round を返す jp.finaluna.api.type.util のメソッド
static MathUtil.Round MathUtil.Round.valueOf(java.lang.String name)
          指定した名前を持つこの型の列挙型定数を返します。
static MathUtil.Round[] MathUtil.Round.values()
          この列挙型の定数を含む配列を宣言されている順序で返します。
 

MathUtil.Round 型のパラメータを持つ jp.finaluna.api.type.util のメソッド
 DecimalType MathUtil.averageDecimal(ListType<DecimalType> values, int scale, MathUtil.Round round)
           DecimalTypeの平均を算出する。
 DecimalType MathUtil.averageInteger(ListType<IntegerType> values, int scale, MathUtil.Round round)
           IntegerTypeの平均を算出する。
 StringCode NumberFormatUtil.format(DecimalType number, StringCode pattern, MathUtil.Round roundingMode)
          受け取ったDecimalTypeを数値フォーマットで指定したフォーマットの文字列表現で返す。