Programming-Idioms

History of Idiom 22 > diff from v84 to v85

Edit summary for version 85 :
[Clojure] other impl => new entry

Version 84

2019-12-11, 23:22:09

Version 85

2019-12-11, 23:22:43

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
(Integer. s)
Code
(Integer/parseInt s)
Doc URL
http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html#parseInt-java.lang.String-
Doc URL
http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html#parseInt-java.lang.String-