SqlDecimal.Power(SqlDecimal, Double) Metod

Definition

Höjer värdet för den angivna SqlDecimal strukturen till den angivna exponentiella kraften.

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

Parametrar

n
SqlDecimal

Strukturen SqlDecimal som ska höjas till en makt.

exp
Double

Ett dubbelt värde som anger vilken effekt talet ska höjas till.

Returer

En SqlDecimal struktur som innehåller resultatet.

Gäller för

Se även