Autor Beitrag
Ice
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 114



BeitragVerfasst: Mo 10.02.03 12:55 
Hallo leute,

gibts eine Standardfunktion in Delphi um x hoch y zu berechnen?? Habe die Hilfe durchsucht aber nix gefunden. :cry:

Vielen Dank im Voraus.

mfg
Ice
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: Mo 10.02.03 13:05 
power

Mfg Frank

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
Ice Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 114



BeitragVerfasst: Mo 10.02.03 13:28 
Danke ! :D

mfg

Ice
Thunder00
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 52



BeitragVerfasst: Mo 10.02.03 14:39 
Also:
ausblenden Quelltext
1:
2:
3:
4:
var i: integer
begin
  i := 2 [b]power[/b] 3
end;


Und i wäre 8 ??

_________________
If you can't make it good, at least make it looks good. (Bill Gates)
smiegel
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 992
Erhaltene Danke: 1

WIN 7
D7 Prof., C#, RAD XE Prof.
BeitragVerfasst: Mo 10.02.03 14:41 
Hallo,

@Thunder00

so nicht, wie Dein Beispiel.

Richtiger:
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
uses
  Math;


var 
  ergebnis:Extended;
  
  ...
  ergebnis:=Power(2, 3);
  ...

_________________
Gruß Smiegel
Ich weiß, daß ich nichts weiß, aber ich weiß mehr als die, die nicht wissen, daß sie nichts wissen. (Sokrates)