SqlDecimal.Divide(SqlDecimal, SqlDecimal) SqlDecimal.Divide(SqlDecimal, SqlDecimal) SqlDecimal.Divide(SqlDecimal, SqlDecimal) SqlDecimal.Divide(SqlDecimal, SqlDecimal) Method

定义

该除法运算符计算将第一个 SqlDecimal 操作数除以第二个操作数所得的结果。The division operator calculates the results of dividing the first SqlDecimal operand by the second.

public:
 static System::Data::SqlTypes::SqlDecimal Divide(System::Data::SqlTypes::SqlDecimal x, System::Data::SqlTypes::SqlDecimal y);
public static System.Data.SqlTypes.SqlDecimal Divide (System.Data.SqlTypes.SqlDecimal x, System.Data.SqlTypes.SqlDecimal y);
static member Divide : System.Data.SqlTypes.SqlDecimal * System.Data.SqlTypes.SqlDecimal -> System.Data.SqlTypes.SqlDecimal
Public Shared Function Divide (x As SqlDecimal, y As SqlDecimal) As SqlDecimal

参数

返回

新的 SqlDecimal 结构,它的 Value 属性包含除法运算的结果。A new SqlDecimal structure whose Value property contains the results of the division.

适用于

另请参阅