Programming-Idioms

History of Idiom 22 > diff from v70 to v71

Edit summary for version 71 :
New Kotlin implementation by user [jay]

Version 70

2019-09-26, 16:57:07

Version 71

2019-09-26, 17:53:12

Idiom #22 Convert string to integer

Extract integer value i from its string representation s (in radix 10)

Illustration

Idiom #22 Convert string to integer

Extract integer value i from its string representation s (in radix 10)

Illustration
Extra Keywords
int base conversion
Extra Keywords
int base conversion
Code
s.toInt()