Export (0) Print
Expand All

Decimal Operators and Type Conversions

The Decimal type exposes the following members.

  Name Description
Public operator Static member Addition Adds two specified Decimal values.
Public operator Static member Decrement Decrements the Decimal operand by one.
Public operator Static member Division Divides two specified Decimal values.
Public operator Static member Equality Returns a value that indicates whether two Decimal values are equal.
Public operator Static member Explicit(Decimal to Byte) Defines an explicit conversion of a Decimal to an 8-bit unsigned integer.
Public operator Static member Explicit(Decimal to UInt16) Defines an explicit conversion of a Decimal to a 16-bit unsigned integer.
Public operator Static member Explicit(Decimal to SByte) Defines an explicit conversion of a Decimal to an 8-bit signed integer.
Public operator Static member Explicit(Decimal to Int16) Defines an explicit conversion of a Decimal to a 16-bit signed integer.
Public operator Static member Explicit(Decimal to Single) Defines an explicit conversion of a Decimal to a single-precision floating-point number.
Public operator Static member Explicit(Decimal to Double) Defines an explicit conversion of a Decimal to a double-precision floating-point number.
Public operator Static member Explicit(Decimal to Char) Defines an explicit conversion of a Decimal to a Unicode character.
Public operator Static member Explicit(Decimal to UInt64) Defines an explicit conversion of a Decimal to a 64-bit unsigned integer.
Public operator Static member Explicit(Decimal to Int32) Defines an explicit conversion of a Decimal to a 32-bit signed integer.
Public operator Static member Explicit(Decimal to UInt32) Defines an explicit conversion of a Decimal to a 32-bit unsigned integer.
Public operator Static member Explicit(Decimal to Int64) Defines an explicit conversion of a Decimal to a 64-bit signed integer.
Public operator Static member Explicit(Double to Decimal) Defines an explicit conversion of a double-precision floating-point number to a Decimal.
Public operator Static member Explicit(Single to Decimal) Defines an explicit conversion of a single-precision floating-point number to a Decimal.
Public operator Static member GreaterThan Returns a value indicating whether a specified Decimal is greater than another specified Decimal.
Public operator Static member GreaterThanOrEqual Returns a value indicating whether a specified Decimal is greater than or equal to another specified Decimal.
Public operator Static member Implicit(Byte to Decimal) Defines an explicit conversion of an 8-bit unsigned integer to a Decimal.
Public operator Static member Implicit(Char to Decimal) Defines an explicit conversion of a Unicode character to a Decimal.
Public operator Static member Implicit(Int16 to Decimal) Defines an explicit conversion of a 16-bit signed integer to a Decimal.
Public operator Static member Implicit(Int32 to Decimal) Defines an explicit conversion of a 32-bit signed integer to a Decimal.
Public operator Static member Implicit(Int64 to Decimal) Defines an explicit conversion of a 64-bit signed integer to a Decimal.
Public operator Static member Implicit(SByte to Decimal) Defines an explicit conversion of an 8-bit signed integer to a Decimal.
Public operator Static member Implicit(UInt16 to Decimal) Defines an explicit conversion of a 16-bit unsigned integer to a Decimal.
Public operator Static member Implicit(UInt32 to Decimal) Defines an explicit conversion of a 32-bit unsigned integer to a Decimal.
Public operator Static member Implicit(UInt64 to Decimal) Defines an explicit conversion of a 64-bit unsigned integer to a Decimal.
Public operator Static member Increment Increments the Decimal operand by 1.
Public operator Static member Inequality Returns a value that indicates whether two Decimal objects have different values.
Public operator Static member LessThan Returns a value indicating whether a specified Decimal is less than another specified Decimal.
Public operator Static member LessThanOrEqual Returns a value indicating whether a specified Decimal is less than or equal to another specified Decimal.
Public operator Static member Modulus Returns the remainder resulting from dividing two specified Decimal values.
Public operator Static member Multiply Multiplies two specified Decimal values.
Public operator Static member Subtraction Subtracts two specified Decimal values.
Public operator Static member UnaryNegation Negates the value of the specified Decimal operand.
Public operator Static member UnaryPlus Returns the value of the Decimal operand (the sign of the operand is unchanged).
Top
Show:
© 2014 Microsoft