Registriert seit: 8. Feb 2006
Ort: Slovenia
90 Beiträge
Delphi 7 Personal
|
is_numeric control number
17. Jul 2006, 13:57
hi there
is there a simple way to control if input-string is a real number (like in php is_numeric) (so i dont have to go by each char, count the dots and ask if char is in 0-9...)
smt like
if ReturnedError(strtofloat(input)) then ShowMessage('you dont entered a valid real number');
|