Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Prism Gleitkomma Problem (https://www.delphipraxis.net/111681-gleitkomma-problem.html)

Klaus01 8. Apr 2008 16:08

Re: Gleitkomma Problem
 
Zitat:

Zitat von Garrad
Problem is leider immer noch vorhanden habe jetzt
Delphi-Quellcode:
 begin
                a:=ziehen;
                Label5.Caption:=floattostr(a);
                if a>21 then verloren;
                if a=21 then gegner
                end;

Schau mal wie Du ziehen deklarier hast:

Delphi-Quellcode:
 function ziehen:integer;
Und, gibt ziehen nun eine Gleitkommazahl zurück?

Grüße
Klaus


Alle Zeitangaben in WEZ +1. Es ist jetzt 21:58 Uhr.
Seite 2 von 2     12   

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz