DecimalExtensionsPow(Decimal, Decimal) Method
Returns the specified value raised to the specified power.
Namespace: KGySoft.CoreLibrariesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public static decimal Pow(
this decimal value,
decimal power
)
<ExtensionAttribute>
Public Shared Function Pow (
value As Decimal,
power As Decimal
) As Decimal
public:
[ExtensionAttribute]
static Decimal Pow(
Decimal value,
Decimal power
)
[<ExtensionAttribute>]
static member Pow :
value : decimal *
power : decimal -> decimal
- value Decimal
- The value to be raised to a power.
- power Decimal
- The specified power.
DecimalThe specified
value raised to the specified
power.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).