4 Replies Latest reply: Feb 26, 2007 7:21 AM by 807606 RSS

    Problem converting int type into String

    807606
      HI Guys. Im currently implementing some code, however I am having trouble converting the user input of an int tpye into a String.

      Here is the code
       
      public void intEncrypt(int val)
        
          {
              j = String.valueOf(val); << tells me cannot resolve symbol
              p = new BigInteger("41");
              q = new BigInteger("23");
              e = new BigInteger("7");
              a = new BigInteger(val);
      Your Help is much appreciated

      Regards

      Ridha