Export (0) Print
Expand All

SqlDecimal.Power Method

Raises the value of the specified SqlDecimal structure to the specified exponential power.

[Visual Basic]
Public Shared Function Power( _
   ByVal n As SqlDecimal, _
   ByVal exp As Double _
) As SqlDecimal
[C#]
public static SqlDecimal Power(
 SqlDecimal n,
 double exp
);
[C++]
public: static SqlDecimal Power(
 SqlDecimal n,
 double exp
);
[JScript]
public static function Power(
   n : SqlDecimal,
 exp : double
) : SqlDecimal;

Parameters

n
The SqlDecimal structure to be raised to a power.
exp
A double value indicating the power to which the number should be raised.

Return Value

A SqlDecimal structure containing the results.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

SqlDecimal Structure | SqlDecimal Members | System.Data.SqlTypes Namespace

Show:
© 2015 Microsoft