|
|
|
| |||||||||
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
casting a string to a integer
how to i change a string into a integer???
|
|
#2
|
|||
|
|||
|
Sting number = "10";
int newNumber = Integer.parseInt(number);
__________________
Some things can be more simple than you think.... |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > casting a string to a integer |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|