title: Invalid floating point operation Delphi
body: <p>I have a problem in a Delphi program that i'm writing. The problem is this piece of code:</p>
  
  <pre><code>type
    TRobot = class(TObject)
    private
    public
      fAcceso: Boolean;
      fOra: TTime;
      fCode: Integer;
      mex: string;
      constructor Create;
    end;
  
  // ...
  
  myrobot.mex:= ('Acceso: '+  BoolToStr(myrobot.fAcceso) + 
                 ',Tempo:' +  TimeToStr(myrobot.fOra) + 
                 ',Codice:' + IntToStr(myrobot.fCode));  
  memo.Lines.add(myrobot.mex);
  </code></pre>
  
  <p>precisely with <code>TimeToStr(myrobot.fOra)</code>.<br>
  The problem occurs is </p>
  
  <blockquote>
    <p>"Invalid floating point operation". </p>
  </blockquote>
  
  <p>Can someone help me??</p>