|
Dernière réponse | |
---|---|
Sujet : [VB] conversion de données -> integer | |
cerdoc | yep merci tout les 2
enfait j'ai deja fait ça : Private Function long2int(value As Long) As Integer If value > 32767 Then long2int = 32767 Exit Function End If If value < -32768 Then long2int = -32768 Exit Function End If long2int = CInt(value) End Function finalement c'est peut etre le + simple ... merci tous les 2 |
Vue Rapide de la discussion |
---|