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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.