Ver Mensaje Individual
  #9  
Antiguo 11-12-2003
Avatar de acertij022
acertij022 acertij022 is offline
Miembro
 
Registrado: may 2003
Ubicación: Argentina-Bs. As.
Posts: 233
Reputación: 24
acertij022 Va por buen camino
procedure TForm1.BitBtn1Click(Sender: TObject);
var
Str1 : string;
i : Integer;
begin
Str1:=188.25;
for i:=1 to length(Str1)do
if Str1[i]='.' then
begin
Str1 := copy(Str1,i+1,Length(Str1));
// esto es por si tiene mas de 2 caracteres la parte decimal ej(188.2556)
Break;
end;
Showmessage(Str1);
end;

Espero que te sea de utilidad

Última edición por acertij022 fecha: 11-12-2003 a las 16:52:25.
Responder Con Cita