Autor Beitrag
Born-to-Frag
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1094

Win XP SP2, Win 2000 SP4
Delphi 7, 2k5
BeitragVerfasst: Fr 14.10.05 20:37 
Ich weiß selbst das das nicht sein kann.

Aber ich habe 2Variablen, Zahl1 und Zahl2.. Und wenn ich 6^0 rechnen will gibt er mir 1 aus.. Ich habe es auch mit nur einer Variable versucht. Gibt aber keinen unterschied im code selbst. Nur mehr schreibarbeit ;)

ausblenden Delphi-Quelltext
1:
2:
3:
     
  Zahl2 := StrToFloat(Ausgabe.Text);
  Ausgabe.Text := FloatToStr(Power(Zahl1, Zahl2));


Kann mir das jemand erklären?

greetz

_________________
Theorie ist wenn man alles weiß, aber nichts funktioniert. Praxis ist wenn alles funktioniert, aber niemand weiß warum.
Microsoft vereint Theorie und Praxis: Nichts funktioniert und niemand weiß warum.
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Fr 14.10.05 20:40 
was sollte denn deiner Meinung nach bei 6^0 rauskommen?

Mfg Frank

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
Ironwulf
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 733
Erhaltene Danke: 2



BeitragVerfasst: Fr 14.10.05 20:42 
mmh das stimmt schon so
mathe muss man nich verstehn das is einfach so ;D
spaß beiseite ich kann dir zwar leider auch nicht sagen warum das so is abers wurde mir schon öfters in der schul erklärt habs mir nur nie gemerkt, wenns mir einfällt trag ichs noch nach
Born-to-Frag Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1094

Win XP SP2, Win 2000 SP4
Delphi 7, 2k5
BeitragVerfasst: Fr 14.10.05 20:51 
Ok lol danke..
So weit bin ich in Mathe wohl noch net.. ^^ :oops:

greetz

_________________
Theorie ist wenn man alles weiß, aber nichts funktioniert. Praxis ist wenn alles funktioniert, aber niemand weiß warum.
Microsoft vereint Theorie und Praxis: Nichts funktioniert und niemand weiß warum.
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: Fr 14.10.05 22:52 
Hallo!

Ich denke, die Frage ist beantwortet. Alle weiteren Postings wurden von mir hierhin abgeteilt.

Grüße
Christian

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".