Click or drag to resize

SystemExtensionPow Method (Decimal, Decimal)

Get one Decimal to the power of another.

Namespace:  WhetStone.SystemExtensions
Assembly:  WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
public static decimal Pow(
	this decimal powbase,
	decimal powpower
)

Parameters

powbase
Type: SystemDecimal
The base of the power.
powpower
Type: SystemDecimal
The exponent of the power.

Return Value

Type: Decimal
powbase raised to powpower.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Decimal. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also