Localized String Number
data class LocalizedStringNumber @JvmOverloads constructor(var number: Number, val precision: Int = Int.MAX_VALUE, val tailingFractionZeros: Boolean = false) : AbstractLocalizedString
Provies locale specific formatting of numbers. e.g. "12.345,67"
Constructors
Types
Link copied to clipboard
class NumberFormattingInfo(val fractionSign: Char, val groupingSign: Char, val groupIntegerSize: Int, val groupFractionSize: Int)
Hold information to format a number
Properties
Link copied to clipboard
Add zeros after the fraction sign until digits count of precision is reached. Only if precision is greater than 0 and not Int.MAX_VALUE
Functions
Link copied to clipboard
Combines the two LocalizedString into one
Combines the LocalizedString and the String into a LocalizedString
Link copied to clipboard
Returns the string value based on the currently set Locale in de.comahe.i18n4k.i18n4k (de.comahe.i18n4k.config.I18n4kConfig.locale)
Returns the string value based on the given Locale.