Decimal
MaxValue
MinusOne
MinValue
One
Zero
Decimal(Double)
Decimal(Int32)
Decimal(Int32[])
Decimal(Int64)
Decimal(Single)
Decimal(UInt32)
Decimal(UInt64)
Decimal(Int32, Int32, Int32, Boolean, Byte)
Decimal(ReadOnlySpan<Int32>)
Scale
Abs(Decimal)
Add(Decimal, Decimal)
Ceiling(Decimal)
Clamp(Decimal, Decimal, Decimal)
Compare(Decimal, Decimal)
CompareTo(Decimal)
CompareTo(Object)
ConvertToInteger<TInteger>(Decimal)
ConvertToIntegerNative<TInteger>(Decimal)
CopySign(Decimal, Decimal)
CreateChecked<TOther>(TOther)
CreateSaturating<TOther>(TOther)
CreateTruncating<TOther>(TOther)
Divide(Decimal, Decimal)
Equals(Decimal)
Equals(Object)
Equals(Decimal, Decimal)
Floor(Decimal)
FromOACurrency(Int64)
GetBits(Decimal)
GetBits(Decimal, Span<Int32>)
GetHashCode()
GetTypeCode()
IsCanonical(Decimal)
IsEvenInteger(Decimal)
IsInteger(Decimal)
IsNegative(Decimal)
IsOddInteger(Decimal)
IsPositive(Decimal)
Max(Decimal, Decimal)
MaxMagnitude(Decimal, Decimal)
Min(Decimal, Decimal)
MinMagnitude(Decimal, Decimal)
Multiply(Decimal, Decimal)
Negate(Decimal)
Parse(String)
Parse(String, IFormatProvider)
Parse(String, NumberStyles)
Parse(String, NumberStyles, IFormatProvider)
Parse(ReadOnlySpan<Byte>, IFormatProvider)
Parse(ReadOnlySpan<Char>, IFormatProvider)
Parse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider)
Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)
Remainder(Decimal, Decimal)
Round(Decimal)
Round(Decimal, Int32)
Round(Decimal, MidpointRounding)
Round(Decimal, Int32, MidpointRounding)
Sign(Decimal)
Subtract(Decimal, Decimal)
ToByte(Decimal)
ToDouble(Decimal)
ToInt16(Decimal)
ToInt32(Decimal)
ToInt64(Decimal)
ToOACurrency(Decimal)
ToSByte(Decimal)
ToSingle(Decimal)
ToString()
ToString(IFormatProvider)
ToString(String)
ToString(String, IFormatProvider)
ToUInt16(Decimal)
ToUInt32(Decimal)
ToUInt64(Decimal)
Truncate(Decimal)
TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider)
TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider)
TryGetBits(Decimal, Span<Int32>, Int32)
TryParse(String, Decimal)
TryParse(String, IFormatProvider, Decimal)
TryParse(String, NumberStyles, IFormatProvider, Decimal)
TryParse(ReadOnlySpan<Byte>, Decimal)
TryParse(ReadOnlySpan<Char>, Decimal)
TryParse(ReadOnlySpan<Byte>, IFormatProvider, Decimal)
TryParse(ReadOnlySpan<Char>, IFormatProvider, Decimal)
TryParse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider, Decimal)
TryParse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider, Decimal)
explicit operator Byte(Decimal)
explicit operator Char(Decimal)
explicit operator Decimal(Double)
explicit operator Decimal(Single)
explicit operator Double(Decimal)
explicit operator Int16(Decimal)
explicit operator Int32(Decimal)
explicit operator Int64(Decimal)
explicit operator SByte(Decimal)
explicit operator Single(Decimal)
explicit operator UInt16(Decimal)
explicit operator UInt32(Decimal)
explicit operator UInt64(Decimal)
implicit operator Decimal(Byte)
implicit operator Decimal(Char)
implicit operator Decimal(Int16)
implicit operator Decimal(Int32)
implicit operator Decimal(Int64)
implicit operator Decimal(SByte)
implicit operator Decimal(UInt16)
implicit operator Decimal(UInt32)
implicit operator Decimal(UInt64)
operator --(Decimal)
operator -(Decimal)
operator -(Decimal, Decimal)
operator !=(Decimal, Decimal)
operator *(Decimal, Decimal)
operator /(Decimal, Decimal)
operator %(Decimal, Decimal)
operator +(Decimal)
operator +(Decimal, Decimal)
operator ++(Decimal)
operator <(Decimal, Decimal)
operator <=(Decimal, Decimal)
operator ==(Decimal, Decimal)
operator >(Decimal, Decimal)
operator >=(Decimal, Decimal)
net9.0
namespace System
{
public readonly struct Decimal : IComparable, IComparable<decimal>, IConvertible, IEquatable<decimal>, IFormattable, IParsable<decimal>, ISpanFormattable, ISpanParsable<decimal>, IUtf8SpanFormattable, IUtf8SpanParsable<decimal>, IAdditionOperators<decimal, decimal, decimal>, IAdditiveIdentity<decimal, decimal>, IComparisonOperators<decimal, decimal, bool>, IDecrementOperators<decimal>, IDivisionOperators<decimal, decimal, decimal>, IEqualityOperators<decimal, decimal, bool>, IFloatingPoint<decimal>, IFloatingPointConstants<decimal>, IIncrementOperators<decimal>, IMinMaxValue<decimal>, IModulusOperators<decimal, decimal, decimal>, IMultiplicativeIdentity<decimal, decimal>, IMultiplyOperators<decimal, decimal, decimal>, INumber<decimal>, INumberBase<decimal>, ISignedNumber<decimal>, ISubtractionOperators<decimal, decimal, decimal>, IUnaryNegationOperators<decimal, decimal>, IUnaryPlusOperators<decimal, decimal>, IDeserializationCallback, ISerializable
{
public static decimal CreateChecked<TOther>(TOther value)
where TOther, INumberBase<TOther>!;
}
}
.NET | 7.08.09.0 |
---|---|
Information specific to net9.0 | |
Assembly | System.Runtime , Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
Referencing | The API is automatically referenced. |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API