convert to an int code example Example 1: string to int int i=Integer.parseInt("200"); Example 2: how to convert a string to an int deep bhakta is here