locale

fun locale(locale: String): Expression.NumberFormatBuilder
fun locale(locale: Expression): Expression.NumberFormatBuilder

Number formatting option for specifying the locale to use, as a BCP 47 language tag.

Return

number format builder

Parameters

locale

the locale to use while performing number formatting

fun locale(block: Expression.ExpressionBuilder.() -> Unit): Expression.NumberFormatBuilder

Number formatting option for specifying the locale to use, as a BCP 47 language tag.

Return

number format builder