# Decimal Operators and Type Conversions

**.NET Framework 1.1**

The operators and type conversions of the **Decimal** structure are listed here. For a complete list of **Decimal** structure members, see the Decimal Members topic.

#### Public Type Conversions

Addition Operator Supported by the .NET Compact Framework. | Adds two specified Decimal values. |

Decrement Operator Supported by the .NET Compact Framework. | Decrements the Decimal operand by one. |

Division Operator Supported by the .NET Compact Framework. | Divides two specified Decimal values. |

Equality Operator Supported by the .NET Compact Framework. | Returns a value indicating whether two instances of Decimal are equal. |

Greater Than Operator Supported by the .NET Compact Framework. | Returns a value indicating whether a specified Decimal is greater than another specified Decimal. |

Greater Than Or Equal Operator Supported by the .NET Compact Framework. | Returns a value indicating whether a specified Decimal is greater than or equal to another specified Decimal. |

Increment Operator Supported by the .NET Compact Framework. | Increments the Decimal operand by 1. |

Inequality Operator Supported by the .NET Compact Framework. | Returns a value indicating whether two instances of Decimal are not equal. |

Less Than Operator Supported by the .NET Compact Framework. | Returns a value indicating whether a specified Decimal is less than another specified Decimal. |

Less Than Or Equal Operator Supported by the .NET Compact Framework. | Returns a value indicating whether a specified Decimal is less than or equal to another specified Decimal. |

Modulus Operator Supported by the .NET Compact Framework. | Returns the remainder resulting from dividing two specified Decimal values. |

Multiplication Operator Supported by the .NET Compact Framework. | Multiplies two specified Decimal values. |

Subtraction Operator Supported by the .NET Compact Framework. | Subtracts two specified Decimal values. |

Unary Negation Operator Supported by the .NET Compact Framework. | Negates the value of the specified Decimal operand. |

Unary Plus Operator Supported by the .NET Compact Framework. | Returns the value of the Decimal operand (the sign of the operand is unchanged). |

Decimal to Char Conversion Supported by the .NET Compact Framework. | Converts a Decimal to a Unicode character. |

Decimal to Int64 Conversion Supported by the .NET Compact Framework. | Converts a Decimal to a 64-bit signed integer. |

Decimal to UInt32 Conversion Supported by the .NET Compact Framework. | Converts a Decimal to a 32-bit unsigned integer. |

Decimal to Int32 Conversion Supported by the .NET Compact Framework. | Converts a Decimal to a 32-bit signed integer. |

Decimal to UInt16 Conversion Supported by the .NET Compact Framework. | Converts a Decimal to a 16-bit unsigned integer. |

Decimal to Int16 Conversion Supported by the .NET Compact Framework. | Converts a Decimal to a 16-bit signed integer. |

Decimal to SByte Conversion Supported by the .NET Compact Framework. | Converts a Decimal to an 8-bit signed integer. |

Decimal to Single Conversion Supported by the .NET Compact Framework. | Converts a Decimal to a single-precision floating-point number. |

Decimal to Double Conversion Supported by the .NET Compact Framework. | Converts a Decimal to a double-precision floating-point number. |

Decimal to UInt64 Conversion Supported by the .NET Compact Framework. | Converts a Decimal to a 64-bit unsigned integer. |

Decimal to Byte Conversion Supported by the .NET Compact Framework. | Converts a Decimal to an 8-bit unsigned integer. |

Double to Decimal Conversion Supported by the .NET Compact Framework. | Converts a double-precision floating-point number to a Decimal. |

Single to Decimal Conversion Supported by the .NET Compact Framework. | Converts a single-precision floating-point number to a Decimal. |

Byte to Decimal Conversion Supported by the .NET Compact Framework. | Converts an 8-bit unsigned integer to a Decimal. |

Char to Decimal Conversion Supported by the .NET Compact Framework. | Converts a Unicode character to a Decimal. |

Int16 to Decimal Conversion Supported by the .NET Compact Framework. | Converts a 16-bit signed integer to a Decimal. |

Int32 to Decimal Conversion Supported by the .NET Compact Framework. | Converts a 32-bit signed integer to a Decimal. |

Int64 to Decimal Conversion Supported by the .NET Compact Framework. | Converts a 64-bit signed integer to a Decimal. |

SByte to Decimal Conversion Supported by the .NET Compact Framework. | Converts an 8-bit signed integer to a Decimal. |

UInt16 to Decimal Conversion Supported by the .NET Compact Framework. | Converts a 16-bit unsigned integer to a Decimal. |

UInt32 to Decimal Conversion Supported by the .NET Compact Framework. | Converts a 32-bit unsigned integer to a Decimal. |

UInt64 to Decimal Conversion Supported by the .NET Compact Framework. | Converts a 64-bit unsigned integer to a Decimal. |