Number Format Builder
Builder for Number Format expression.
Parameters
input
the input as a number
Constructors
NumberFormatBuilder
Link copied to clipboard
Functions
build
Link copied to clipboard
Build the number-format expression.
currency
Link copied to clipboard
fun currency(block: Expression.ExpressionBuilder.() -> Unit): Expression.NumberFormatBuilder
Content copied to clipboard
Number formatting option for specifying the currency to use, an ISO 4217 code.
locale
Link copied to clipboard
fun locale(block: Expression.ExpressionBuilder.() -> Unit): Expression.NumberFormatBuilder
Content copied to clipboard
Number formatting option for specifying the locale to use, as a BCP 47 language tag.
max Fraction Digits
Link copied to clipboard
fun maxFractionDigits(maxFractionDigits: Expression): Expression.NumberFormatBuilder
Content copied to clipboard
fun maxFractionDigits(block: Expression.ExpressionBuilder.() -> Unit): Expression.NumberFormatBuilder
Content copied to clipboard
fun maxFractionDigits(maxFractionDigits: Int): Expression.NumberFormatBuilder
Content copied to clipboard
Number formatting options for specifying the minimum fraction digits to include.
min Fraction Digits
Link copied to clipboard
fun minFractionDigits(minFractionDigits: Expression): Expression.NumberFormatBuilder
Content copied to clipboard
fun minFractionDigits(block: Expression.ExpressionBuilder.() -> Unit): Expression.NumberFormatBuilder
Content copied to clipboard
fun minFractionDigits(minFractionDigits: Int): Expression.NumberFormatBuilder
Content copied to clipboard
Number formatting options for specifying the minimum fraction digits to include.