public static enum FormatHelper.RoundFormat extends Enum<FormatHelper.RoundFormat> implements FormatHelper.FormatSettingValueIF
修飾子とタイプ | メソッドと説明 |
---|---|
static RoundingMode |
get(String code)
コードからコードごとの小数部丸めを取得します.
|
static FormatHelper.RoundFormat |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static FormatHelper.RoundFormat[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final FormatHelper.RoundFormat HALF_UP
public static final FormatHelper.RoundFormat UP
public static final FormatHelper.RoundFormat DOWN
public String code
public static FormatHelper.RoundFormat[] values()
for(FormatHelper.RoundFormat c: FormatHelper.RoundFormat.values()) System.out.println(c);
public static FormatHelper.RoundFormat valueOf(String name)
name
- 返される列挙型定数の名前。IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合NullPointerException
- 引数がnullの場合public static RoundingMode get(String code)
code
- 数値型フォーマット(小数部丸め)Copyright © 2024 Sumitomo Life Information Systems Co., Ltd. All Rights Reserved.