Navigation: Function Reference > General Utility Functions > power()

power()

Top  Previous  Next

power( base: Extended; exponent: Extended ) : Extended;

 

Raises base to any power.

 

Parameters

 

base

numeric value

exponent

numeric value

 

var a: Double;

var b: Double;

 

a := 2;

 

b := power( a, 2 );

 

//b is now equal to 4;