Programming-Idioms

History of Idiom 22 > diff from v20 to v21

Edit summary for version 21 :

Version 20

2015-09-04, 11:42:36

Version 21

2015-10-25, 19:06:50

Idiom #22 Convert string to integer

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

Idiom #22 Convert string to integer

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

Code
I = list_to_integer(S).
Doc URL
http://erldocs.com/current/erts/erlang.html?i=0&search=list_to_inte#list_to_integer/1