Ver Mensaje Individual
  #3  
Antiguo 04-12-2008
[coso] coso is offline
Miembro Premium
 
Registrado: may 2008
Ubicación: Girona
Posts: 1.678
Reputación: 0
coso Va por buen camino
Hola, esto tambien te funcionaria :

Código Delphi [-]
function IsNumber(s : string) : boolean;
var
        i : integer;
begin
        result := true;
        for i := 0 to Length(s)-1 do
        result := result and (s[i] in ['0'..'9','+','-','.',',']);
end;
Responder Con Cita