Type Summary
public struct Decimal : IFormattable, IComparable, IConvertible { // Constructors public Decimal (double value); public Decimal (float value); public Decimal (int value); MS public Decimal (int lo, int mid, int hi, bool isNegative, byte scale); public Decimal (int[] bits); public Decimal (long value); public Decimal (uint value); public Decimal (ulong value); // Fields public static readonly decimal MaxValue = 79228162514264337593543950335; public static readonly decimal MinusOne = -1; public static readonly decimal MinValue = -79228162514264337593543950335; public static readonly decimal One = 1; public static readonly decimal Zero = 0; // Methods public static decimal Add (decimal d1, decimal d2); public static int Compare (
Get .NET Framework Standard Library Annotated Reference, Volume 1: Base Class Library and Extended Numerics Library now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.