SqlDecimal.Divide(SqlDecimal, SqlDecimal) Method

Definition

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

Parameters

x
SqlDecimal

A SqlDecimal structure.

y
SqlDecimal

A SqlDecimal structure.

Returns

A new SqlDecimal structure whose Value property contains the results of the division.

Applies to

See also