Class Expression.NumberFormatOption
java.lang.Object
com.trimblemaps.mapsdk.style.expressions.Expression.NumberFormatOption
- Enclosing class:
- Expression
Holds format options used in a
Expression.numberFormat(Number, NumberFormatOption...) expression.-
Method Summary
Modifier and TypeMethodDescriptioncurrency(Expression string) Number formatting option for specifying the currency to use, an ISO 4217 code.Number formatting options for specifying the currency to use, an ISO 4217 code.locale(Expression string) Number formatting option for specifying the locale to use, as a BCP 47 language tag.Number formatting option for specifying the locale to use, as a BCP 47 language tag.maxFractionDigits(int number) Number formatting options for specifying the maximum fraction digits to include.maxFractionDigits(Expression number) Number formatting options for specifying the maximum fraction digits to include.minFractionDigits(int number) Number formatting options for specifying the minimum fraction digits to include.minFractionDigits(Expression number) Number formatting options for specifying the minimum fraction digits to include.
-
Method Details
-
locale
Number formatting option for specifying the locale to use, as a BCP 47 language tag.- Parameters:
string- the locale to use while performing number formatting- Returns:
- number format option
-
locale
Number formatting option for specifying the locale to use, as a BCP 47 language tag.- Parameters:
string- the locale to use while performing number formatting- Returns:
- number format option
-
currency
Number formatting option for specifying the currency to use, an ISO 4217 code.- Parameters:
string- the currency to use while performing number formatting- Returns:
- number format option
-
currency
Number formatting options for specifying the currency to use, an ISO 4217 code.- Parameters:
string- the currency to use while performing number formatting- Returns:
- number format option
-
minFractionDigits
Number formatting options for specifying the minimum fraction digits to include.- Parameters:
number- the amount of minimum fraction digits to include- Returns:
- number format option
-
minFractionDigits
Number formatting options for specifying the minimum fraction digits to include.- Parameters:
number- the amount of minimum fraction digits to include- Returns:
- number format option
-
maxFractionDigits
Number formatting options for specifying the maximum fraction digits to include.- Parameters:
number- the amount of minimum fraction digits to include- Returns:
- number format option
-
maxFractionDigits
Number formatting options for specifying the maximum fraction digits to include.- Parameters:
number- the amount of minimum fraction digits to include- Returns:
- number format option
-