EsbDecimals - a Free Subset of ESBPCS for .NET

DecimalOps.IntPow Method (Decimal, Int32)

Computes the value of a Decimal raised to an Integer Power.

[Visual Basic]
Overloads Public Shared Function IntPow( _
   ByVal x As Decimal, _
   ByVal y As Integer _
) As Decimal
[C#]
public static decimal IntPow(
   decimal x,
   int y
);

Parameters

x
The Value to be raised to the specified power.
y
The Power to raise the specified value to.

Return Value

x ^ y, ie x raised to the power of y.

See Also

DecimalOps Class | Esb.Math Namespace | DecimalOps.IntPow Overload List