Autor Beitrag
ethillias
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 41



BeitragVerfasst: Di 13.01.09 00:41 
Hi,

ich habe mir vor kurzem Delphi 2009 besorgt, stehe aber nun vor dem problem das ich mit Kommazahlen arbeiten möchte, bisher habe ich das mit float gelöst leider zeigt er mir nun an das float nicht existiert.

Was kann ich statdessen nehmen?

Grüße Tim
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Di 13.01.09 00:47 
Mein Delphi 7 kennt auch kein Float ;-) Meinst du Double oder Extended?

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
Martok
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 3661
Erhaltene Danke: 604

Win 8.1, Win 10 x64
Pascal: Lazarus Snapshot, Delphi 7,2007; PHP, JS: WebStorm
BeitragVerfasst: Di 13.01.09 00:51 
Float ist im allgemeinen Single, einfach mal verschiedene Header lesen ;)

Aber stimmt schon, so unter dem Namen gabs das in Delphi noch nie.

_________________
"The phoenix's price isn't inevitable. It's not part of some deep balance built into the universe. It's just the parts of the game where you haven't figured out yet how to cheat."
Tilman
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1405
Erhaltene Danke: 51

Win 7, Android
Turbo Delphi, Eclipse
BeitragVerfasst: Di 13.01.09 01:53 
Ausser als Wortbestandteil in diversen Funktionen, z.B. "StrToFloat", daher vermutlich der Irrtum.

_________________
Bringe einen Menschen zum grübeln, dann kannst du heimlich seinen Reis essen.
(Koreanisches Sprichwort)
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Di 13.01.09 10:06 
:-D ein derartiger Fehler ist mir auch schon ein paar Mal passiert. Vor allem spät Nachts und wenn man grade aus einem Quelltext einer anderen Sprache kommt.

_________________
In the beginning was the word.
And the word was content-type: text/plain.