Results 1 to 4 of 4

Thread: String to integer{resolved}

Hybrid View

  1. #1
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418
    Of course you can't cast a string to an integer. Use
    int i = Integer.parseInt(s); where s is a String reference.

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