vean
0
Q:

cast string to integer apex

Integer i;
String s;
s='10';
i=integer.valueof(s);
1

New to Communities?

Join the community