toShort
Parses the string as a Short number and returns the result.
Exceptions
NumberFormatException
- if the string is not a valid representation of a number.
fun
String
.
toShort
(
radix
:
Int
)
:
Short
(Common source) (JVM source) (JS source) (Native source)