SqlDecimal.Power(SqlDecimal, Double) Método

Definição

Gera o valor da estrutura SqlDecimal especificada à potência exponencial especificada.

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

Parâmetros

n
SqlDecimal

A estrutura SqlDecimal a ser elevada a uma potência.

exp
Double

Um valor duplo que indica a potência à qual o número deve ser elevado.

Retornos

Uma estrutura SqlDecimal que contém os resultados.

Aplica-se a

Confira também