NumberStyle

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

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

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

Functions

component1
Link copied to clipboard
common
operator fun component1(): Char
component2
Link copied to clipboard
common
operator fun component2(): List<Char>
component3
Link copied to clipboard
common
operator fun component3(): List<Char>
component4
Link copied to clipboard
common
operator fun component4(): List<Char>
copy
Link copied to clipboard
common
fun copy(zeroDigit: Char, plusSign: List<Char>, minusSign: List<Char>, decimalSeparator: List<Char>): NumberStyle
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

decimalSeparator
Link copied to clipboard
common

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

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

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

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

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

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

The character that represents zero.

val zeroDigit: Char