bilalstar
Messages postés70Date d'inscriptiondimanche 27 mars 2005StatutMembreDernière intervention 3 octobre 2005
-
22 avril 2005 à 15:02
bilalstar
Messages postés70Date d'inscriptiondimanche 27 mars 2005StatutMembreDernière intervention 3 octobre 2005
-
23 avril 2005 à 22:50
salut;
j'ai besoin d'afficher valeur hexadecimal d'une serie de chiffre.
j'utilise Hex() mais il m'affiche 4 pour Hex(4) au lieu de 04.
ou est l'astuce?
MERCI
<TD id=HB_Focus_Element vAlign=top width="100%" background="" height=250 body UNSELECTAB<>
crenaud76
Messages postés4172Date d'inscriptionmercredi 30 juillet 2003StatutMembreDernière intervention 9 juin 200628 22 avril 2005 à 15:13
Normal !!! Même dans un nombre Hexa, les zéro de gauche sont non significatif !! Donc VB ne les met pas. Pour les avoir, il faut convertir en string et cela, via Format()
bilalstar
Messages postés70Date d'inscriptiondimanche 27 mars 2005StatutMembreDernière intervention 3 octobre 2005 22 avril 2005 à 15:27
<TD id=HB_Focus_Element vAlign=top width=\"100%\" background=\"\" height=250 UNSELECTAB< body>merci, bien vu
mais pour les nombres 10,11,12,13,14,15 il affiche tjs A,B,C,D,E au lieu de 0A,.....
bilalstar
Messages postés70Date d'inscriptiondimanche 27 mars 2005StatutMembreDernière intervention 3 octobre 2005 23 avril 2005 à 22:50
<TD id=HB_Focus_Element vAlign=top width=\"100%\" background=\"\" height=250 UNSELECTAB< body>salut;
merci a tous .
le savoir s'agrindit d'autant qu'on le partage.