Convertir string en entier

Fermé
ramziwolf84 Messages postés 12 Date d'inscription mardi 28 mai 2013 Statut Membre Dernière intervention 18 juin 2013 - 29 mai 2013 à 10:24
stagiaire_1 Messages postés 17 Date d'inscription mardi 7 mai 2013 Statut Membre Dernière intervention 14 juin 2013 - 29 mai 2013 à 10:51
bonjour, comment je peux convertir une chaîne en un entier
comme 1994 de string en entier
merci

4 réponses

stagiaire_1 Messages postés 17 Date d'inscription mardi 7 mai 2013 Statut Membre Dernière intervention 14 juin 2013 8
Modifié par stagiaire_1 le 29/05/2013 à 10:54
Bonjour,

String annee = String.valueOf(1994);

Cordialement
0