Logo

Programming-Idioms

History of Idiom 22 > diff from v76 to v77

Edit summary for version 77 by burimshala:
New JS implementation by user [burimshala]

Version 76

2019-09-29, 17:47:30

Version 77

2019-10-08, 08:17:28

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
const i = +"12"