up previous next
Fn.PowN

Returns Base to the power of Exponent with a given accuracy.
Syntax
          
Fn.PowN(Base:RAT,Exponent:RAT,Acc:INT):RAT

          

Description
This function returns the value of Base to the power of Exponent. rounded to the given accuracy Acc.

Example
R := Fn.PowN(2,10,30);
Dec(R, 40);

1024
-------------------------------



Example
R := Fn.PowN(2,10/3,30);
Dec(R, 40);

10.079368399158985318137684858226
-------------------------------



See Also