Programming-Idioms

History of Idiom 22 > diff from v63 to v64

Edit summary for version 64 :
New Scheme implementation by user [Dodopod]

Version 63

2017-04-05, 10:44:11

Version 64

2017-06-06, 15:19:09

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
(define i (string->number s))