toString

Common
JVM
JS
Native
1.1
fun Byte.toString(radix: Int): String
(Common source) (JVM source) (JS source) (Native source)

Returns a string representation of this Byte value in the specified radix.

Exceptions

IllegalArgumentException - when radix is not a valid radix for number to string conversion.

Common
JVM
JS
Native
1.1
fun Short.toString(radix: Int): String
(Common source) (JVM source) (JS source) (Native source)

Returns a string representation of this Short value in the specified radix.

Exceptions

IllegalArgumentException - when radix is not a valid radix for number to string conversion.

Common
JVM
JS
Native
1.1
fun Int.toString(radix: Int): String
(Common source) (JVM source) (JS source) (Native source)

Returns a string representation of this Int value in the specified radix.

Exceptions

IllegalArgumentException - when radix is not a valid radix for number to string conversion.

Common
JVM
JS
Native
1.1
fun Long.toString(radix: Int): String
(Common source) (JVM source) (JS source) (Native source)

Returns a string representation of this Long value in the specified radix.

Exceptions

IllegalArgumentException - when radix is not a valid radix for number to string conversion.

Common
JVM
JS
Native
1.5
fun UByte.toString(radix: Int): String
(source)

Returns a string representation of this Byte value in the specified radix.

Exceptions

IllegalArgumentException - when radix is not a valid radix for number to string conversion.

Common
JVM
JS
Native
1.5
fun UShort.toString(radix: Int): String
(source)

Returns a string representation of this Short value in the specified radix.

Exceptions

IllegalArgumentException - when radix is not a valid radix for number to string conversion.

Common
JVM
JS
Native
1.5
fun UInt.toString(radix: Int): String
(source)

Returns a string representation of this Int value in the specified radix.

Exceptions

IllegalArgumentException - when radix is not a valid radix for number to string conversion.

Common
JVM
JS
Native
1.5
fun ULong.toString(radix: Int): String
(source)

Returns a string representation of this Long value in the specified radix.

Exceptions

IllegalArgumentException - when radix is not a valid radix for number to string conversion.