NumberFormatBuilder

class NumberFormatBuilder(input: Expression) : Expression.Builder

Builder for Number Format expression.

Parameters

input

the input as a number

Constructors

NumberFormatBuilder
Link copied to clipboard
fun NumberFormatBuilder(input: Expression)
the input as a number

Functions

build
Link copied to clipboard
open override fun build(): Expression
Build the number-format expression.
currency
Link copied to clipboard
fun currency(currency: Expression): Expression.NumberFormatBuilder
Number formatting option for specifying the currency to use, an ISO 4217 code.
fun currency(block: Expression.ExpressionBuilder.() -> Unit): Expression.NumberFormatBuilder
Number formatting option for specifying the currency to use, an ISO 4217 code.
fun currency(currency: String): Expression.NumberFormatBuilder
Number formatting option for specifying the currency to use, an ISO 4217 code.
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
locale
Link copied to clipboard
fun locale(locale: Expression): Expression.NumberFormatBuilder
Number formatting option for specifying the locale to use, as a BCP 47 language tag.
fun locale(block: Expression.ExpressionBuilder.() -> Unit): Expression.NumberFormatBuilder
Number formatting option for specifying the locale to use, as a BCP 47 language tag.
fun locale(locale: String): Expression.NumberFormatBuilder
Number formatting option for specifying the locale to use, as a BCP 47 language tag.
maxFractionDigits
Link copied to clipboard
fun maxFractionDigits(maxFractionDigits: Expression): Expression.NumberFormatBuilder
Number formatting options for specifying the minimum fraction digits to include.
Number formatting options for specifying the minimum fraction digits to include.
fun maxFractionDigits(maxFractionDigits: Int): Expression.NumberFormatBuilder
Number formatting options for specifying the minimum fraction digits to include.
minFractionDigits
Link copied to clipboard
fun minFractionDigits(minFractionDigits: Expression): Expression.NumberFormatBuilder
Number formatting options for specifying the minimum fraction digits to include.
Number formatting options for specifying the minimum fraction digits to include.
fun minFractionDigits(minFractionDigits: Int): Expression.NumberFormatBuilder
Number formatting options for specifying the minimum fraction digits to include.
toString
Link copied to clipboard
open fun toString(): String