NumberStyle

data class NumberStyle(zeroDigit: Char, plusSign: List<Char>, minusSign: List<Char>, decimalSeparator: List<Char>)

The set of characters that should be used when parsing or formatting numbers.

Constructors

NumberStyle
Link copied to clipboard
common
fun NumberStyle(zeroDigit: Char, plusSign: List<Char>, minusSign: List<Char>, decimalSeparator: List<Char>)

Types

Companion
Link copied to clipboard
common
object Companion

Properties

decimalSeparator
Link copied to clipboard
common
val decimalSeparator: List<Char>

A list of allowed decimal separator characters. The first element will be used when formatting

minusSign
Link copied to clipboard
common
val minusSign: List<Char>

A list of allowed minus sign characters. The first element will be used when formatting.

plusSign
Link copied to clipboard
common
val plusSign: List<Char>

A list of allowed plus sign characters. The first element will be used when formatting.

zeroDigit
Link copied to clipboard
common
val zeroDigit: Char

The character that represents zero.