Barbalbero
11-05-2008, 09:43
Domanda semplice
Il problema è che se faccio
int n1 = 2;
int n2 = 11;
String s1 = "" + n1;
String s2 = "" + n2;
allora s1 == "2" e s2 == "11"
ma io vorrei che s1 fosse "02" e s2 == "11"
Il problema è che se faccio
int n1 = 2;
int n2 = 11;
String s1 = "" + n1;
String s2 = "" + n2;
allora s1 == "2" e s2 == "11"
ma io vorrei che s1 fosse "02" e s2 == "11"