Ver Mensaje Individual
  #5  
Antiguo 28-06-2012
Avatar de Casimiro Noteví
Casimiro Noteví Casimiro Noteví is offline
Merodeador
 
Registrado: sep 2004
Ubicación: En algún lugar.
Posts: 32.670
Reputación: 10
Casimiro Noteví Tiene un aura espectacularCasimiro Noteví Tiene un aura espectacular
Prueba esto...:

Código Delphi [-]
variable     
  cantidad   : Double;  
begin     
  Cantidad   :=StrToDouble(grid.cells[1,1]);   //el grid trae:______5.2   ,      
  ShowMessage(FloatToStr(StrToDouble(grid.cells[1,1]));   //muestra el 5.2     
  Cantidad   :=Cantidad; //breakpoint.... muestra cantidad como 0......  
  //
  showmessage(floattostr(cantidad));   // Añade esto y prueba  <----------------
  // 
End;
Responder Con Cita