SqlDecimal
Represents a numeric value between - 10^38 +1 and 10^38 - 1, with fixed precision and scale.
A constant representing the largest possible value for the Precision property.
A constant representing the maximum value for the Scale property.
A constant representing the maximum value of a SqlDecimal structure.
A constant representing the minimum value for a SqlDecimal structure.
Represents a DBNull that can be assigned to this instance of the SqlDecimal class.
Get the binary representation of the value of this SqlDecimal structure as an array of bytes.
Gets the binary representation of this SqlDecimal structure as an array of integers.
Indicates whether this SqlDecimal structure is null.
Indicates whether the Value of this SqlDecimal structure is greater than zero.
Gets the maximum number of digits used to represent the Value property.
Gets the number of decimal places to which Value is resolved.
Gets the value of the SqlDecimal structure. This property is read-only.
public SqlDecimal(byte bPrecision, byte bScale, bool fPositive, int data1, int data2, int data3, int data4)
Initializes a new instance of the SqlDecimal structure using the supplied parameters.
Initializes a new instance of the SqlDecimal structure using the supplied parameters.
Initializes a new instance of the SqlDecimal structure using the supplied Decimal value.
Initializes a new instance of the SqlDecimal structure using the supplied double parameter.
Initializes a new instance of the SqlDecimal structure using the supplied integer value.
Initializes a new instance of the SqlDecimal structure using the supplied long integer value.
The Abs method gets the absolute value of the SqlDecimal parameter.
Calculates the sum of the two SqlDecimal operators.
The scale of the SqlDecimal operand will be adjusted to the number of digits indicated by the digits parameter. Depending on the value of the fRound parameter, the value will either be rounded to the appropriate number of digits or truncated.
Returns the smallest whole number greater than or equal to the specified SqlDecimal structure.
Adjusts the value of the SqlDecimal operand to the indicated precision and scale.
The division operator calculates the results of dividing the first SqlDecimal operand by the second.
Performs a logical comparison of the two SqlDecimal operands to determine whether they are equal.
Rounds a specified SqlDecimal number to the next lower whole number.
Performs a logical comparison of two SqlDecimal structures to determine whether the first is greater than the second.
Performs a logical comparison of the two SqlDecimal parameters to determine whether the first is greater than or equal to the second.
Performs a logical comparison of two SqlDecimal structures to determine whether the first is less than the second.
Performs a logical comparison of the two SqlDecimal parameters to determine whether the first is less than or equal to the second.
The multiplication operator computes the product of the two SqlDecimal parameters.
Performs a logical comparison of the two SqlDecimal parameters to determine whether they are not equal.
Calculates the sum of the two SqlDecimal operators.
The division operator calculates the results of dividing the first SqlDecimal operand by the second.
Performs a logical comparison of the two SqlDecimal operands to determine whether they are equal.
Converts the supplied SqlBoolean structure to SqlDecimal.
Converts the SqlDecimal parameter to Decimal.
Converts the supplied SqlDouble structure to SqlDecimal.
Converts the supplied SqlSingle structure to SqlDecimal.
Converts the supplied SqlString parameter to SqlDecimal.
Converts the Double parameter to SqlDecimal.
Performs a logical comparison of two SqlDecimal structures to determine whether the first is greater than the second.
Performs a logical comparison of the two SqlDecimal parameters to determine whether the first is greater than or equal to the second.
Converts the supplied SqlByte structure to SqlDecimal.
Converts the supplied SqlInt16 structure to SqlDecimal
Converts the supplied SqlInt32 structure to SqlDecimal.
Converts the supplied SqlInt64 structure to SqlDecimal.
Converts the SqlMoney operand to SqlDecimal.
Converts the Decimal value to SqlDecimal.
Converts the supplied Int64 structure to SqlDecimal.
Performs a logical comparison of the two SqlDecimal parameters to determine whether they are not equal.
Performs a logical comparison of two SqlDecimal structures to determine whether the first is less than the second.
Performs a logical comparison of the two SqlDecimal parameters to determine whether the first is less than or equal to the second.
The multiplication operator computes the product of the two SqlDecimal parameters.
Calculates the results of subtracting the second SqlDecimal operand from the first.
The unary minus operator negates the SqlDecimal parameter.
Converts the String representation of a number to its SqlDecimal equivalent.
Raises the value of the specified SqlDecimal structure to the specified exponential power.
Gets the number nearest the specified SqlDecimal structure's value with the specified precision.
Gets a value that indicates the sign of a SqlDecimal structure's Value property.
Calculates the results of subtracting the second SqlDecimal operand from the first.
Truncates the specified SqlDecimal structure's value to the that you want position.
Compares this SqlDecimal instance to the supplied SqlDecimal object and returns an indication of their relative values.
Compares this SqlDecimal instance to the supplied Object and returns an indication of their relative values.
Returns the a double equal to the contents of the Value property of this instance.
Converts this SqlDecimal structure to SqlBoolean.
Converts this SqlDecimal structure to SqlByte.
Converts this SqlDecimal structure to SqlDouble.
Converts this SqlDecimal structure to SqlInt16.
Converts this SqlDecimal structure to SqlInt32.
Converts this SqlDecimal structure to SqlInt64.
Converts this SqlDecimal structure to SqlMoney.
Converts this SqlDecimal structure to SqlSingle.
Converts this SqlDecimal structure to SqlString.