formatFor

abstract fun formatFor(locale: KalugaLocale, flags: Set<Flag>, width: Int, precision: Int): String

Formats this object to a String using a KalugaLocale, Flags, width, and precision

Return

The formatted String representing this Formattable.

Parameters

locale

The KalugaLocale used for formatting.

flags

A Set of Flag used for formattting.

width

The expected width of the result.

precision

The precision applied when formatting.

Throws

when an issue with the formatting occurs.