SqlDecimal.Power(SqlDecimal, Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Raises the value of the specified SqlDecimal structure to the specified exponential power.
public:
static System::Data::SqlTypes::SqlDecimal Power(System::Data::SqlTypes::SqlDecimal n, double exp);
public static System.Data.SqlTypes.SqlDecimal Power (System.Data.SqlTypes.SqlDecimal n, double exp);
static member Power : System.Data.SqlTypes.SqlDecimal * double -> System.Data.SqlTypes.SqlDecimal
Public Shared Function Power (n As SqlDecimal, exp As Double) As SqlDecimal
Parameters
The SqlDecimal structure to be raised to a power.
- exp
- Double
A double value that indicates the power to which the number should be raised.
Returns
A SqlDecimal structure that contains the results.
Applies to
See also
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.