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): <ERROR CLASS>
Number formatting option for specifying the currency to use, an ISO 4217 code.
fun currency(block: Expression.ExpressionBuilder.() -> Unit): <ERROR CLASS>
Number formatting option for specifying the currency to use, an ISO 4217 code.
fun currency(currency: String): <ERROR CLASS>
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): <ERROR CLASS>
Number formatting option for specifying the locale to use, as a BCP 47 language tag.
fun locale(block: Expression.ExpressionBuilder.() -> Unit): <ERROR CLASS>
Number formatting option for specifying the locale to use, as a BCP 47 language tag.
fun locale(locale: String): <ERROR CLASS>
Number formatting option for specifying the locale to use, as a BCP 47 language tag.
maxFractionDigits
Link copied to clipboard
fun maxFractionDigits(maxFractionDigits: Expression): <ERROR CLASS>
Number formatting options for specifying the minimum fraction digits to include.
fun maxFractionDigits(block: Expression.ExpressionBuilder.() -> Unit): <ERROR CLASS>
Number formatting options for specifying the minimum fraction digits to include.
fun maxFractionDigits(maxFractionDigits: Int): <ERROR CLASS>
Number formatting options for specifying the minimum fraction digits to include.
minFractionDigits
Link copied to clipboard
fun minFractionDigits(minFractionDigits: Expression): <ERROR CLASS>
Number formatting options for specifying the minimum fraction digits to include.
fun minFractionDigits(block: Expression.ExpressionBuilder.() -> Unit): <ERROR CLASS>
Number formatting options for specifying the minimum fraction digits to include.
fun minFractionDigits(minFractionDigits: Int): <ERROR CLASS>
Number formatting options for specifying the minimum fraction digits to include.
toString
Link copied to clipboard
open fun toString(): String