Logo

Programming-Idioms

History of Idiom 22 > diff from v68 to v69

Edit summary for version 69 by foobar:
New Lisp implementation by user [foobar]

Version 68

2019-07-05, 18:02:43

Version 69

2019-09-26, 16:03:16

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
(setf i (parse-integer s))