#1
  1. No Profile Picture
    Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2002
    Posts
    19
    Rep Power
    0

    casting a string to a integer


    how to i change a string into a integer???
  2. #2
  3. No Profile Picture
    hmmmm...
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2001
    Location
    UK
    Posts
    37
    Rep Power
    14
    Sting number = "10";
    int newNumber = Integer.parseInt(number);
    Some things can be more simple than you think....

IMN logo majestic logo threadwatch logo seochat tools logo