Einzelnen Beitrag anzeigen

kobel

Registriert seit: 6. Dez 2004
Ort: Attendorn
42 Beiträge
 
Delphi 6 Professional
 
#1

Warum ist 1.1 nicht gleich 1.1

  Alt 28. Sep 2006, 16:04
Hallo,

ich frage eine Variable vom Typ double wie folgt ab:

Delphi-Quellcode:
tmp_double:=1.1;
if (tmp_double = 1.1) then
showmessage('hallo');
WARUM ist der Ausdruck FALSE ???

DANKE
kobel
  Mit Zitat antworten Zitat