je cherche à vérifier dans un input que les données inscrites soient bien des chiffres et non un melanGe de chiffres et de lettres ou des lettres. Le code ne fait pas la difference.
Merci



Code : Tout sélectionner
#include <EditConstants.au3>
GUICtrlCreateInput ( "text", left, top , width , height ,$ES_NUMBER)

Code : Tout sélectionner
$nombre = InputBox("Tutorial", "Entrez un nombre :")
If (StringIsInt($nombre) or StringIsFloat($nombre)) Then
MsgBox(0,"1", "")
Else
MsgBox(0,"E", "")
EndIf
Code : Tout sélectionner
$nombre = InputBox("Tutorial", "Entrez un nombre :")
If Number($nombre) Then
MsgBox(0,"Vous avez choisis un chiffre", $nombre)
Else
MsgBox(0,"Vous avez choisis une lettre", $nombre)
EndIf

Code : Tout sélectionner
Dim $TheForm
$TheForm = 5
If IsNumber($TheForm) Then
If $TheForm < 1 Or $TheForm > 10 Then
MsgBox(0,"","Please enter a number between 1 and 10.")
Else
MsgBox (0,"","Thank you.")
EndIf
Else
MsgBox(0,"","Please enter a numeric value.")
EndIf