Hallo, ich habe vor kurzer Zeit angefangen mit Delphi zu programmieren und bin totaler Anfänger.
Ich habe nach einer Methode gesucht, mit der man prüfen kann, ob eine Zahl eine Kommazahl ist, doch wenn ich folgendes eintippe: "if ((c * 2) mod 2) = 0 then...", meldet Delphi: "Operator not applicable to this operand type" und "Comparing signed and unsigned types - widened both operands".
Was mache ich falsch? Ich finde einfach keine Lösung.
Moderiert von
Narses: Topic aus Sonstiges (Delphi) verschoben am Di 01.06.2010 um 23:17