Results 1 to 4 of 4

Thread: String to integer{resolved}

Threaded View

  1. #1

    Thread Starter
    Frenzied Member System_Error's Avatar
    Join Date
    Apr 2004
    Posts
    1,111

    String to integer{resolved}

    I am trying to do something like this:

    String text = TextBox1.getText();
    int number = (int)text;


    It is not letting me cast a string to an integer.

    Can anyone tell me how to do this?
    Last edited by System_Error; Jul 2nd, 2004 at 03:15 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width