String to int
Fermé
alberta
-
23 janv. 2010 à 12:16
nabil07 Messages postés 140 Date d'inscription vendredi 14 septembre 2007 Statut Membre Dernière intervention 10 avril 2014 - 23 janv. 2010 à 12:48
nabil07 Messages postés 140 Date d'inscription vendredi 14 septembre 2007 Statut Membre Dernière intervention 10 avril 2014 - 23 janv. 2010 à 12:48
A voir également:
- String to int
- Qwerty to azerty - Guide
- Video to video - Télécharger - Conversion & Codecs
- Majuscule to minuscule - Guide
- Bat to exe converter - Télécharger - Édition & Programmation
- Honestech vhs to dvd - Forum Lecteurs et supports vidéo
1 réponse
nabil07
Messages postés
140
Date d'inscription
vendredi 14 septembre 2007
Statut
Membre
Dernière intervention
10 avril 2014
64
23 janv. 2010 à 12:48
23 janv. 2010 à 12:48
Bonjour,
pour convertir un String en int, utilises la classe Integer avec la méthode statique Integer.parseInt(nombre_str)
NB : celle-ci peut générer une exception NumberFormatException.
pour convertir un String en int, utilises la classe Integer avec la méthode statique Integer.parseInt(nombre_str)
NB : celle-ci peut générer une exception NumberFormatException.