Programming-Idioms

History of Idiom 22 > diff from v69 to v70

Edit summary for version 70 :
New Fortran implementation by user [tkoenig]

Version 69

2019-09-26, 16:03:16

Version 70

2019-09-26, 16:57:07

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
read (unit=s,fmt=*) i