toString

Common
fun UByte.toString(radix: Int): String

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

Since Kotlin

1.5

Throws

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

Common
fun UShort.toString(radix: Int): String

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

Since Kotlin

1.5

Throws

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

Common
fun UInt.toString(radix: Int): String

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

Since Kotlin

1.5

Throws

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

Common
fun ULong.toString(radix: Int): String

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

Since Kotlin

1.5

Throws

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

Common
fun Byte.toString(radix: Int): String

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

Since Kotlin

1.2

Throws

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

inline fun Byte.toString(radix: Int): String

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

Since Kotlin

1.1

Throws

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

JS
inline fun Byte.toString(radix: Int): String

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

Since Kotlin

1.2

Throws

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

Native
inline fun Byte.toString(radix: Int): String

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

Since Kotlin

1.1

Throws

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

Common
fun Short.toString(radix: Int): String

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

Since Kotlin

1.2

Throws

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

inline fun Short.toString(radix: Int): String

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

Since Kotlin

1.1

Throws

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

JS
inline fun Short.toString(radix: Int): String

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

Since Kotlin

1.2

Throws

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

Native
inline fun Short.toString(radix: Int): String

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

Since Kotlin

1.1

Throws

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

Common
fun Int.toString(radix: Int): String

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

Since Kotlin

1.2

Throws

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

inline fun Int.toString(radix: Int): String

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

Since Kotlin

1.1

Throws

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

JS
fun Int.toString(radix: Int): String

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

Since Kotlin

1.2

Throws

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

Native
inline fun Int.toString(radix: Int): String

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

Since Kotlin

1.1

Throws

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

Common
fun Long.toString(radix: Int): String

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

Since Kotlin

1.2

Throws

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

inline fun Long.toString(radix: Int): String

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

Since Kotlin

1.1

Throws

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

JS
fun Long.toString(radix: Int): String

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

Since Kotlin

1.2

Throws

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

Native
inline fun Long.toString(radix: Int): String

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

Since Kotlin

1.1

Throws

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