Decimal Operators and Type Conversions

The Decimal type exposes the following members.

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