1. ## 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. ## 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,

3. ## Re: choicegroup-pop up

80 = 8*10 + 0

4. ## Re: choicegroup-pop up

Originally Posted by raj_J2ME
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. ## Re: choicegroup-pop up

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

#### Posting Permissions

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