×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jan 2011
    Posts
    6

    choicegroup-pop up

    I would like to know how to combine and show two seperate integer from 2 different choicegroup-pop up?

    eg. from choicegroup 1 - integer number: 8
    from choicegroup 2 - integer number: 0

    how to combine and show both integer to become 80?

  2. #2
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: choicegroup-pop up

    You can have both of the values and append as the string ,
    Like,
    value1=8 and value2=8,
    so you can display the both values finalValue = ""+value1+""+value2. Append this string value of some sort of component,
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  3. #3
    Nokia Developer Champion
    Join Date
    Mar 2005
    Location
    Paris
    Posts
    814

    Re: choicegroup-pop up

    80 = 8*10 + 0

  4. #4
    Registered User
    Join Date
    Jan 2011
    Posts
    6

    Question Re: choicegroup-pop up

    Quote Originally Posted by raj_J2ME View Post
    You can have both of the values and append as the string ,
    Like,
    value1=8 and value2=8,
    so you can display the both values finalValue = ""+value1+""+value2. Append this string value of some sort of component,
    After the two value are combine(string), how do i convert them into integer so that the combine number can be multiply?
    eg. combine number = "88" ---> how "88"(string) * 10(integer) = 880?

  5. #5
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: choicegroup-pop up

    Code:
    int i = Integer.parseInt("88");
    Graham.

Similar Threads

  1. J2me pop up choicegroup
    By Mayuri in forum Mobile Java General
    Replies: 1
    Last Post: 2010-09-04, 18:36
  2. ChoiceGroup help
    By jselvakumar26071988 in forum Mobile Java General
    Replies: 1
    Last Post: 2009-01-12, 09:21
  3. choicegroup help
    By jselvakumar26071988 in forum Mobile Java General
    Replies: 3
    Last Post: 2008-09-28, 04:55
  4. choicegroup
    By reshmy in forum Mobile Java General
    Replies: 3
    Last Post: 2008-05-27, 05:08
  5. Don't see ChoiceGroup!
    By tnguyenk in forum Symbian User Interface
    Replies: 5
    Last Post: 2006-12-12, 06:59

Posting Permissions

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