Functions

Link copied to clipboard

Returns a value as a string value appropriate to the host environment's current locale.

open fun toLocaleString(locales: Locale, options: O = definedExternally): String
open fun toLocaleString(locales: ReadonlyArray<Locale>, options: O = definedExternally): String
open fun toLocaleString(locales: ReadonlyArray<UnicodeBCP47LocaleIdentifier>, options: O = definedExternally): String

open fun toLocaleString(locales: UnicodeBCP47LocaleIdentifier, options: O = definedExternally): String

Converts a value to a string by using the current or specified locale.