Export (0) Print
Expand All

SqlDecimal Methods

The SqlDecimal type exposes the following members.

  Name Description
Public method Static member Abs The Abs method gets the absolute value of the SqlDecimal parameter.
Public method Static member Add Calculates the sum of the two SqlDecimal operators.
Public method Static member AdjustScale 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.
Public method Static member Ceiling Returns the smallest whole number greater than or equal to the specified SqlDecimal structure.
Public method CompareTo(Object) Compares this SqlDecimal instance to the supplied Object and returns an indication of their relative values.
Public method CompareTo(SqlDecimal) Compares this SqlDecimal instance to the supplied SqlDecimal object and returns an indication of their relative values.
Public method Static member ConvertToPrecScale Adjusts the value of the SqlDecimal operand to the indicated precision and scale.
Public method Static member Divide The division operator calculates the results of dividing the first SqlDecimal operand by the second.
Public method Equals(Object) Compares the supplied Object parameter to the Value property of the SqlDecimal instance. (Overrides ValueType.Equals(Object).)
Public method Static member Equals(SqlDecimal, SqlDecimal) Performs a logical comparison of the two SqlDecimal operands to determine whether they are equal.
Public method Static member Floor Rounds a specified SqlDecimal number to the next lower whole number.
Public method GetHashCode Returns the hash code for this instance. (Overrides ValueType.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Static member GetXsdType Returns the XML Schema definition language (XSD) of the specified XmlSchemaSet.
Public method Static member GreaterThan Performs a logical comparison of two SqlDecimal structures to determine whether the first is greater than the second.
Public method Static member GreaterThanOrEqual Performs a logical comparison of the two SqlDecimal parameters to determine whether the first is greater than or equal to the second.
Public method Static member LessThan Performs a logical comparison of two SqlDecimal structures to determine whether the first is less than the second.
Public method Static member LessThanOrEqual Performs a logical comparison of the two SqlDecimal parameters to determine whether the first is less than or equal to the second.
Public method Static member Multiply The multiplication operator computes the product of the two SqlDecimal parameters.
Public method Static member NotEquals Performs a logical comparison of the two SqlDecimal parameters to determine whether they are not equal.
Public method Static member Parse Converts the String representation of a number to its SqlDecimal equivalent.
Public method Static member Power Raises the value of the specified SqlDecimal structure to the specified exponential power.
Public method Static member Round Gets the number nearest the specified SqlDecimal structure's value with the specified precision.
Public method Static member Sign Gets a value that indicates the sign of a SqlDecimal structure's Value property.
Public method Static member Subtract Calculates the results of subtracting the second SqlDecimal operand from the first.
Public method ToDouble Returns the a double equal to the contents of the Value property of this instance.
Public method ToSqlBoolean Converts this SqlDecimal structure to SqlBoolean.
Public method ToSqlByte Converts this SqlDecimal structure to SqlByte.
Public method ToSqlDouble Converts this SqlDecimal structure to SqlDouble.
Public method ToSqlInt16 Converts this SqlDecimal structure to SqlInt16.
Public method ToSqlInt32 Converts this SqlDecimal structure to SqlInt32.
Public method ToSqlInt64 Converts this SqlDecimal structure to SqlInt64.
Public method ToSqlMoney Converts this SqlDecimal structure to SqlMoney.
Public method ToSqlSingle Converts this SqlDecimal structure to SqlSingle.
Public method ToSqlString Converts this SqlDecimal structure to SqlString.
Public method ToString Converts this SqlDecimal structure to String. (Overrides ValueType.ToString().)
Public method Static member Truncate Truncates the specified SqlDecimal structure's value to the that you want position.
Top

  Name Description
Explicit interface implemetation Private method IXmlSerializable.GetSchema This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Explicit interface implemetation Private method IXmlSerializable.ReadXml This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Explicit interface implemetation Private method IXmlSerializable.WriteXml This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Top
Show:
© 2014 Microsoft