JvmNumberFormatter

class JvmNumberFormatter(locale: Locale, options: NumberFormatOptions = NumberFormatOptions()) : IntlFormatter<Double> (source)

JVM implementation of Intl formatters. Uses java.text and java.time for locale-aware formatting.

Format numbers using locale-aware formatting.

Constructors

Link copied to clipboard
constructor(locale: Locale, options: NumberFormatOptions = NumberFormatOptions())

Functions

Link copied to clipboard
open override fun format(value: Double): String

Format a value using this formatter.