inline fun Byte.toString(radix: Int): String
Platform and version requirements: Kotlin 1.1, JVM
Returns a string representation of this Byte value in the specified radix.
IllegalArgumentException
- when radix is not a valid radix for number to string conversion.
inline fun Short.toString(radix: Int): String
Platform and version requirements: Kotlin 1.1, JVM
Returns a string representation of this Short value in the specified radix.
IllegalArgumentException
- when radix is not a valid radix for number to string conversion.
inline fun Int.toString(radix: Int): String
Platform and version requirements: Kotlin 1.1, JVM
Returns a string representation of this Int value in the specified radix.
IllegalArgumentException
- when radix is not a valid radix for number to string conversion.
inline fun Long.toString(radix: Int): String
Platform and version requirements: Kotlin 1.1, JVM
Returns a string representation of this Long value in the specified radix.
IllegalArgumentException
- when radix is not a valid radix for number to string conversion.
© 2010–2018 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/to-string.html