public static class Expression.NumberFormatOption
extends java.lang.Object
Expression.numberFormat(Number, NumberFormatOption...)
expression.Modifier and Type | Method and Description |
---|---|
static Expression.NumberFormatOption |
currency(Expression string)
Number formatting option for specifying the currency to use, an ISO 4217 code.
|
static Expression.NumberFormatOption |
currency(java.lang.String string)
Number formatting options for specifying the currency to use, an ISO 4217 code.
|
static Expression.NumberFormatOption |
locale(Expression string)
Number formatting option for specifying the locale to use, as a BCP 47 language tag.
|
static Expression.NumberFormatOption |
locale(java.lang.String string)
Number formatting option for specifying the locale to use, as a BCP 47 language tag.
|
static Expression.NumberFormatOption |
maxFractionDigits(Expression number)
Number formatting options for specifying the maximum fraction digits to include.
|
static Expression.NumberFormatOption |
maxFractionDigits(int number)
Number formatting options for specifying the maximum fraction digits to include.
|
static Expression.NumberFormatOption |
minFractionDigits(Expression number)
Number formatting options for specifying the minimum fraction digits to include.
|
static Expression.NumberFormatOption |
minFractionDigits(int number)
Number formatting options for specifying the minimum fraction digits to include.
|
@NonNull public static Expression.NumberFormatOption locale(@NonNull Expression string)
string
- the locale to use while performing number formatting@NonNull public static Expression.NumberFormatOption locale(@NonNull java.lang.String string)
string
- the locale to use while performing number formatting@NonNull public static Expression.NumberFormatOption currency(@NonNull Expression string)
string
- the currency to use while performing number formatting@NonNull public static Expression.NumberFormatOption currency(@NonNull java.lang.String string)
string
- the currency to use while performing number formatting@NonNull public static Expression.NumberFormatOption minFractionDigits(@NonNull Expression number)
number
- the amount of minimum fraction digits to include@NonNull public static Expression.NumberFormatOption minFractionDigits(int number)
number
- the amount of minimum fraction digits to include@NonNull public static Expression.NumberFormatOption maxFractionDigits(@NonNull Expression number)
number
- the amount of minimum fraction digits to include@NonNull public static Expression.NumberFormatOption maxFractionDigits(@NonNull int number)
number
- the amount of minimum fraction digits to include