Logo

Programming-Idioms

History of Idiom 22 > diff from v74 to v75

Edit summary for version 75 by EvilGenius:
New VB implementation by user [EvilGenius]

Version 74

2019-09-26, 22:06:28

Version 75

2019-09-27, 23:21:04

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
Dim myint As Integer = CInt(("123"))