    class StringToNumber 
      { 
      public static void main (String args[]) 
        {
        int iWk;
        float fWk;
        double dWk;

        iWk = (new Integer("123")).intValue();
        fWk = (new Float("123.45")).floatValue();
        dWk = (new Double("123.45")).doubleValue();

        System.out.println ("iWk = " + iWk);
        System.out.println ("fWk = " + fWk);
        System.out.println ("dWk = " + dWk);
        } 
      } 

