Language

Decimal32 Struct

Definition

public value class Decimal32 : IComparable, IEquatable, IParsable, ISpanParsable, IUtf8SpanParsable, System::Numerics::IAdditionOperators, System::Numerics::IAdditiveIdentity, System::Numerics::IComparisonOperators, System::Numerics::IDecimalFloatingPointIeee754, System::Numerics::IDecrementOperators, System::Numerics::IDivisionOperators, System::Numerics::IEqualityOperators, System::Numerics::IExponentialFunctions, System::Numerics::IFloatingPoint, System::Numerics::IFloatingPointConstants, System::Numerics::IFloatingPointIeee754, System::Numerics::IHyperbolicFunctions, System::Numerics::IIncrementOperators, System::Numerics::ILogarithmicFunctions, System::Numerics::IMinMaxValue, System::Numerics::IModulusOperators, System::Numerics::IMultiplicativeIdentity, System::Numerics::IMultiplyOperators, System::Numerics::INumber, System::Numerics::INumberBase, System::Numerics::IPowerFunctions, System::Numerics::IRootFunctions, System::Numerics::ISignedNumber, System::Numerics::ISubtractionOperators, System::Numerics::ITrigonometricFunctions, System::Numerics::IUnaryNegationOperators, System::Numerics::IUnaryPlusOperators
public readonly struct Decimal32 : IComparable, IEquatable, IParsable, ISpanParsable, IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IComparisonOperators, System.Numerics.IDecimalFloatingPointIeee754, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IExponentialFunctions, System.Numerics.IFloatingPoint, System.Numerics.IFloatingPointConstants, System.Numerics.IFloatingPointIeee754, System.Numerics.IHyperbolicFunctions, System.Numerics.IIncrementOperators, System.Numerics.ILogarithmicFunctions, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IPowerFunctions, System.Numerics.IRootFunctions, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.ITrigonometricFunctions, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators
type Decimal32 = struct
    interface IFormattable
    interface IParsable
    interface ISpanFormattable
    interface ISpanParsable
    interface IUtf8SpanFormattable
    interface IUtf8SpanParsable
    interface IAdditionOperators
    interface IAdditiveIdentity
    interface IComparisonOperators
    interface IEqualityOperators
    interface IDecimalFloatingPointIeee754
    interface IDecrementOperators
    interface IDivisionOperators
    interface IExponentialFunctions
    interface IFloatingPointConstants
    interface IIncrementOperators
    interface IMultiplicativeIdentity
    interface IMultiplyOperators
    interface INumberBase
    interface ISubtractionOperators
    interface IUnaryNegationOperators
    interface IUnaryPlusOperators
    interface IFloatingPoint
    interface IModulusOperators
    interface INumber
    interface ISignedNumber
    interface IFloatingPointIeee754
    interface IHyperbolicFunctions
    interface ILogarithmicFunctions
    interface IPowerFunctions
    interface IRootFunctions
    interface ITrigonometricFunctions
    interface IMinMaxValue
Public Structure Decimal32
Implements IAdditionOperators(Of Decimal32, Decimal32, Decimal32), IAdditiveIdentity(Of Decimal32, Decimal32), IComparable(Of Decimal32), IComparisonOperators(Of Decimal32, Decimal32, Boolean), IDecimalFloatingPointIeee754(Of Decimal32), IDecrementOperators(Of Decimal32), IDivisionOperators(Of Decimal32, Decimal32, Decimal32), IEqualityOperators(Of Decimal32, Decimal32, Boolean), IEquatable(Of Decimal32), IExponentialFunctions(Of Decimal32), IFloatingPoint(Of Decimal32), IFloatingPointConstants(Of Decimal32), IFloatingPointIeee754(Of Decimal32), IHyperbolicFunctions(Of Decimal32), IIncrementOperators(Of Decimal32), ILogarithmicFunctions(Of Decimal32), IMinMaxValue(Of Decimal32), IModulusOperators(Of Decimal32, Decimal32, Decimal32), IMultiplicativeIdentity(Of Decimal32, Decimal32), IMultiplyOperators(Of Decimal32, Decimal32, Decimal32), INumber(Of Decimal32), INumberBase(Of Decimal32), IParsable(Of Decimal32), IPowerFunctions(Of Decimal32), IRootFunctions(Of Decimal32), ISignedNumber(Of Decimal32), ISpanParsable(Of Decimal32), ISubtractionOperators(Of Decimal32, Decimal32, Decimal32), ITrigonometricFunctions(Of Decimal32), IUnaryNegationOperators(Of Decimal32, Decimal32), IUnaryPlusOperators(Of Decimal32, Decimal32), IUtf8SpanParsable(Of Decimal32)
Inheritance
Decimal32
Implements
IComparable IComparable<Decimal32> IComparable IEquatable<Decimal32> IEquatable IFormattable IParsable<Decimal32> IParsable ISpanFormattable ISpanParsable<Decimal32> ISpanParsable IUtf8SpanFormattable IUtf8SpanParsable<Decimal32> IUtf8SpanParsable IAdditionOperators<Decimal32,Decimal32,Decimal32> IAdditionOperators IAdditiveIdentity<Decimal32,Decimal32> IAdditiveIdentity IComparisonOperators<Decimal32,Decimal32,Boolean> IComparisonOperatorsBoolean> IDecimalFloatingPointIeee754<Decimal32> IDecrementOperators<Decimal32> IDecrementOperators IDivisionOperators<Decimal32,Decimal32,Decimal32> IDivisionOperators IEqualityOperators<Decimal32,Decimal32,Boolean> IEqualityOperators IEqualityOperatorsBoolean> IExponentialFunctions<Decimal32> IExponentialFunctions IFloatingPoint<Decimal32> IFloatingPoint IFloatingPointConstants<Decimal32> IFloatingPointConstants IFloatingPointIeee754<Decimal32> IFloatingPointIeee754 IHyperbolicFunctions<Decimal32> IHyperbolicFunctions IIncrementOperators<Decimal32> IIncrementOperators ILogarithmicFunctions<Decimal32> ILogarithmicFunctions IMinMaxValue<Decimal32> IModulusOperators<Decimal32,Decimal32,Decimal32> IModulusOperators IMultiplicativeIdentity<Decimal32,Decimal32> IMultiplicativeIdentity IMultiplyOperators<Decimal32,Decimal32,Decimal32> IMultiplyOperators INumber<Decimal32> INumber INumberBase<Decimal32> INumberBase IPowerFunctions<Decimal32> IPowerFunctions IRootFunctions<Decimal32> IRootFunctions ISignedNumber<Decimal32> ISignedNumber ISubtractionOperators<Decimal32,Decimal32,Decimal32> ISubtractionOperators ITrigonometricFunctions<Decimal32> ITrigonometricFunctions IUnaryNegationOperators<Decimal32,Decimal32> IUnaryNegationOperators IUnaryPlusOperators<Decimal32,Decimal32> IUnaryPlusOperators

Properties

Name Description
E
Epsilon
MaxValue
MinValue
NaN
NegativeInfinity
NegativeOne
NegativeZero
One
Pi
PositiveInfinity
Tau
Zero

Methods

Name Description
Abs(Decimal32)
Acos(Decimal32)
Acosh(Decimal32)
AcosPi(Decimal32)
Asin(Decimal32)
Asinh(Decimal32)
AsinPi(Decimal32)
Atan(Decimal32)
Atan2(Decimal32, Decimal32)
Atan2Pi(Decimal32, Decimal32)
Atanh(Decimal32)
AtanPi(Decimal32)
BitDecrement(Decimal32)
BitIncrement(Decimal32)
Cbrt(Decimal32)
Ceiling(Decimal32)
Clamp(Decimal32, Decimal32, Decimal32)
ClampNative(Decimal32, Decimal32, Decimal32)
CompareTo(Decimal32)
CompareTo(Object)
ConvertToInteger(Decimal32)
ConvertToIntegerNative(Decimal32)
CopySign(Decimal32, Decimal32)
Cos(Decimal32)
Cosh(Decimal32)
CosPi(Decimal32)
CreateChecked(TOther)
CreateSaturating(TOther)
CreateTruncating(TOther)
DecodeBinary(UInt32)
DecodeDecimal(UInt32)
EncodeBinary(Decimal32)
EncodeDecimal(Decimal32)
Equals(Decimal32)
Equals(Object)
Exp(Decimal32)
Exp10(Decimal32)
Exp10M1(Decimal32)
Exp2(Decimal32)
Exp2M1(Decimal32)
ExpM1(Decimal32)
Floor(Decimal32)
FusedMultiplyAdd(Decimal32, Decimal32, Decimal32)
GetHashCode()
GetQuantum(Decimal32)
HaveSameQuantum(Decimal32, Decimal32)
Hypot(Decimal32, Decimal32)
Ieee754Remainder(Decimal32, Decimal32)
ILogB(Decimal32)
IsEvenInteger(Decimal32)
IsFinite(Decimal32)
IsInfinity(Decimal32)
IsInteger(Decimal32)
IsNaN(Decimal32)
IsNegative(Decimal32)
IsNegativeInfinity(Decimal32)
IsNormal(Decimal32)
IsOddInteger(Decimal32)
IsPositive(Decimal32)
IsPositiveInfinity(Decimal32)
IsRealNumber(Decimal32)
IsSubnormal(Decimal32)
Lerp(Decimal32, Decimal32, Decimal32)
Log(Decimal32, Decimal32)
Log(Decimal32)
Log10(Decimal32)
Log10P1(Decimal32)
Log2(Decimal32)
Log2P1(Decimal32)
LogP1(Decimal32)
Max(Decimal32, Decimal32)
MaxMagnitude(Decimal32, Decimal32)
MaxMagnitudeNumber(Decimal32, Decimal32)
MaxNative(Decimal32, Decimal32)
MaxNumber(Decimal32, Decimal32)
Min(Decimal32, Decimal32)
MinMagnitude(Decimal32, Decimal32)
MinMagnitudeNumber(Decimal32, Decimal32)
MinNative(Decimal32, Decimal32)
MinNumber(Decimal32, Decimal32)
MultiplyAddEstimate(Decimal32, Decimal32, Decimal32)
Parse(ReadOnlySpan, IFormatProvider)
Parse(ReadOnlySpan, NumberStyles, IFormatProvider)
Parse(ReadOnlySpan, IFormatProvider)
Parse(ReadOnlySpan, NumberStyles, IFormatProvider)
Parse(String, IFormatProvider)
Parse(String, NumberStyles, IFormatProvider)
Parse(String, NumberStyles)
Parse(String)
Pow(Decimal32, Decimal32)
Quantize(Decimal32, Decimal32)
ReciprocalEstimate(Decimal32)
ReciprocalSqrtEstimate(Decimal32)
RootN(Decimal32, Int32)
Round(Decimal32, Int32, MidpointRounding)
Round(Decimal32, Int32)
Round(Decimal32, MidpointRounding)
Round(Decimal32)
ScaleB(Decimal32, Int32)
Sign(Decimal32)
Sin(Decimal32)
SinCos(Decimal32)
SinCosPi(Decimal32)
Sinh(Decimal32)
SinPi(Decimal32)
Sqrt(Decimal32)
Tan(Decimal32)
Tanh(Decimal32)
TanPi(Decimal32)
ToString()
ToString(IFormatProvider)
ToString(String, IFormatProvider)
ToString(String)
Truncate(Decimal32)
TryFormat(Span, Int32, ReadOnlySpan, IFormatProvider)
TryFormat(Span, Int32, ReadOnlySpan, IFormatProvider)
TryParse(ReadOnlySpan, Decimal32)
TryParse(ReadOnlySpan, IFormatProvider, Decimal32)
TryParse(ReadOnlySpan, Decimal32)
TryParse(ReadOnlySpan, IFormatProvider, Decimal32)
TryParse(ReadOnlySpan, NumberStyles, IFormatProvider, Decimal32)
TryParse(String, Decimal32)
TryParse(String, IFormatProvider, Decimal32)
TryParse(String, NumberStyles, IFormatProvider, Decimal32)
TryParsePartial(ReadOnlySpan, NumberStyles, IFormatProvider, Decimal32, Int32)
TryParsePartial(ReadOnlySpan, NumberStyles, IFormatProvider, Decimal32, Int32)
TryParsePartial(String, NumberStyles, IFormatProvider, Decimal32, Int32)

Operators

Name Description
Addition(Decimal32, Decimal32)
CheckedExplicit(Decimal32 to Byte)
Decrement(Decimal32)
Division(Decimal32, Decimal32)
Equality(Decimal32, Decimal32)
Explicit(Decimal to Decimal32)
Explicit(Decimal128 to Decimal32)
Explicit(Decimal32 to Byte)
Explicit(Decimal32 to Char)
Explicit(Decimal32 to Decimal)
Explicit(Decimal32 to Double)
Explicit(Decimal32 to Half)
Explicit(Decimal32 to Int128)
Explicit(Decimal32 to Int16)
Explicit(Decimal32 to Int32)
Explicit(Decimal32 to Int64)
Explicit(Decimal32 to IntPtr)
Explicit(Decimal32 to SByte)
Explicit(Decimal32 to Single)
Explicit(Decimal32 to UInt128)
Explicit(Decimal32 to UInt16)
Explicit(Decimal32 to UInt32)
Explicit(Decimal32 to UInt64)
Explicit(Decimal32 to UIntPtr)
Explicit(Decimal64 to Decimal32)
Explicit(Double to Decimal32)
Explicit(Half to Decimal32)
Explicit(Int128 to Decimal32)
Explicit(Int32 to Decimal32)
Explicit(Int64 to Decimal32)
Explicit(IntPtr to Decimal32)
Explicit(Single to Decimal32)
Explicit(UInt128 to Decimal32)
Explicit(UInt32 to Decimal32)
Explicit(UInt64 to Decimal32)
Explicit(UIntPtr to Decimal32)
GreaterThan(Decimal32, Decimal32)
GreaterThanOrEqual(Decimal32, Decimal32)
Implicit(Byte to Decimal32)
Implicit(Char to Decimal32)
Implicit(Decimal32 to Decimal128)
Implicit(Decimal32 to Decimal64)
Implicit(Int16 to Decimal32)
Implicit(SByte to Decimal32)
Implicit(UInt16 to Decimal32)
Increment(Decimal32)
Inequality(Decimal32, Decimal32)
LessThan(Decimal32, Decimal32)
LessThanOrEqual(Decimal32, Decimal32)
Modulus(Decimal32, Decimal32)
Multiply(Decimal32, Decimal32)
Subtraction(Decimal32, Decimal32)
UnaryNegation(Decimal32)
UnaryPlus(Decimal32)

Explicit Interface Implementations

Name Description
IAdditiveIdentity.AdditiveIdentity
IFloatingPoint.GetExponentByteCount()
IFloatingPoint.GetExponentShortestBitLength()
IFloatingPoint.GetSignificandBitLength()
IFloatingPoint.GetSignificandByteCount()
IFloatingPoint.TryWriteExponentBigEndian(Span, Int32)
IFloatingPoint.TryWriteExponentLittleEndian(Span, Int32)
IFloatingPoint.TryWriteSignificandBigEndian(Span, Int32)
IFloatingPoint.TryWriteSignificandLittleEndian(Span, Int32)
IMultiplicativeIdentity.MultiplicativeIdentity
INumberBase.IsCanonical(Decimal32)
INumberBase.IsComplexNumber(Decimal32)
INumberBase.IsImaginaryNumber(Decimal32)
INumberBase.IsZero(Decimal32)
INumberBase.Radix
INumberBase.TryConvertFromChecked(TOther, Decimal32)
INumberBase.TryConvertFromSaturating(TOther, Decimal32)
INumberBase.TryConvertFromTruncating(TOther, Decimal32)
INumberBase.TryConvertToChecked(Decimal32, TOther)
INumberBase.TryConvertToSaturating(Decimal32, TOther)
INumberBase.TryConvertToTruncating(Decimal32, TOther)

Applies to