Ver Mensaje Individual
  #2  
Antiguo 26-05-2007
Avatar de jachguate
jachguate jachguate is offline
Miembro
 
Registrado: may 2003
Ubicación: Guatemala
Posts: 6.254
Reputación: 30
jachguate Va por buen camino
Se me ocurre que usando las funciones FloatToStr y Copy se puede conseguir fácilmente.

Código Delphi [-]
var
  s: string;
begin
  s := Copy(FloatToStr(Valor), 1, 10);
end;

Hasta luego.

__________________
Juan Antonio Castillo Hernández (jachguate)
Guía de Estilo | Etiqueta CODE | Búsca antes de preguntar | blog de jachguate
Responder Con Cita