yesod string to int code example Example 1: string to int int i=Integer.parseInt("200"); Example 2: string to int string = "some string" string = int(string)