Decimal 구조체

정의

10진수 부동 소수점 숫자를 나타냅니다.

public value class System::Decimal : IComparable, IComparable<System::Decimal>, IConvertible, IEquatable<System::Decimal>, IFormattable
public value class System::Decimal : IComparable, IComparable<System::Decimal>, IConvertible, IEquatable<System::Decimal>, IFormattable, System::Runtime::Serialization::IDeserializationCallback, System::Runtime::Serialization::ISerializable
public value class System::Decimal : IComparable, IComparable<System::Decimal>, IConvertible, IEquatable<System::Decimal>, ISpanFormattable, System::Runtime::Serialization::IDeserializationCallback, System::Runtime::Serialization::ISerializable
public value class System::Decimal : IComparable<System::Decimal>, IConvertible, IEquatable<System::Decimal>, IParsable<System::Decimal>, ISpanParsable<System::Decimal>, System::Numerics::IAdditionOperators<System::Decimal, System::Decimal, System::Decimal>, System::Numerics::IAdditiveIdentity<System::Decimal, System::Decimal>, System::Numerics::IComparisonOperators<System::Decimal, System::Decimal, bool>, System::Numerics::IDecrementOperators<System::Decimal>, System::Numerics::IDivisionOperators<System::Decimal, System::Decimal, System::Decimal>, System::Numerics::IEqualityOperators<System::Decimal, System::Decimal, bool>, System::Numerics::IFloatingPoint<System::Decimal>, System::Numerics::IFloatingPointConstants<System::Decimal>, System::Numerics::IIncrementOperators<System::Decimal>, System::Numerics::IMinMaxValue<System::Decimal>, System::Numerics::IModulusOperators<System::Decimal, System::Decimal, System::Decimal>, System::Numerics::IMultiplicativeIdentity<System::Decimal, System::Decimal>, System::Numerics::IMultiplyOperators<System::Decimal, System::Decimal, System::Decimal>, System::Numerics::INumber<System::Decimal>, System::Numerics::INumberBase<System::Decimal>, System::Numerics::ISignedNumber<System::Decimal>, System::Numerics::ISubtractionOperators<System::Decimal, System::Decimal, System::Decimal>, System::Numerics::IUnaryNegationOperators<System::Decimal, System::Decimal>, System::Numerics::IUnaryPlusOperators<System::Decimal, System::Decimal>, System::Runtime::Serialization::IDeserializationCallback, System::Runtime::Serialization::ISerializable
public value class System::Decimal : IComparable<System::Decimal>, IConvertible, IEquatable<System::Decimal>, IParsable<System::Decimal>, ISpanParsable<System::Decimal>, IUtf8SpanParsable<System::Decimal>, System::Numerics::IAdditionOperators<System::Decimal, System::Decimal, System::Decimal>, System::Numerics::IAdditiveIdentity<System::Decimal, System::Decimal>, System::Numerics::IComparisonOperators<System::Decimal, System::Decimal, bool>, System::Numerics::IDecrementOperators<System::Decimal>, System::Numerics::IDivisionOperators<System::Decimal, System::Decimal, System::Decimal>, System::Numerics::IEqualityOperators<System::Decimal, System::Decimal, bool>, System::Numerics::IFloatingPoint<System::Decimal>, System::Numerics::IFloatingPointConstants<System::Decimal>, System::Numerics::IIncrementOperators<System::Decimal>, System::Numerics::IMinMaxValue<System::Decimal>, System::Numerics::IModulusOperators<System::Decimal, System::Decimal, System::Decimal>, System::Numerics::IMultiplicativeIdentity<System::Decimal, System::Decimal>, System::Numerics::IMultiplyOperators<System::Decimal, System::Decimal, System::Decimal>, System::Numerics::INumber<System::Decimal>, System::Numerics::INumberBase<System::Decimal>, System::Numerics::ISignedNumber<System::Decimal>, System::Numerics::ISubtractionOperators<System::Decimal, System::Decimal, System::Decimal>, System::Numerics::IUnaryNegationOperators<System::Decimal, System::Decimal>, System::Numerics::IUnaryPlusOperators<System::Decimal, System::Decimal>, System::Runtime::Serialization::IDeserializationCallback, System::Runtime::Serialization::ISerializable
public value class System::Decimal : IComparable, IComparable<System::Decimal>, IConvertible, IEquatable<System::Decimal>, IFormattable, System::Runtime::Serialization::IDeserializationCallback
public value class System::Decimal : IComparable, IConvertible, IFormattable
public value class System::Decimal : IComparable, IComparable<System::Decimal>, IEquatable<System::Decimal>, IFormattable
public struct Decimal : IComparable, IComparable<decimal>, IConvertible, IEquatable<decimal>, IFormattable
public readonly struct Decimal : IComparable, IComparable<decimal>, IConvertible, IEquatable<decimal>, IFormattable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable
public readonly struct Decimal : IComparable, IComparable<decimal>, IConvertible, IEquatable<decimal>, ISpanFormattable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable
public readonly struct Decimal : IComparable<decimal>, IConvertible, IEquatable<decimal>, IParsable<decimal>, ISpanParsable<decimal>, System.Numerics.IAdditionOperators<decimal,decimal,decimal>, System.Numerics.IAdditiveIdentity<decimal,decimal>, System.Numerics.IComparisonOperators<decimal,decimal,bool>, System.Numerics.IDecrementOperators<decimal>, System.Numerics.IDivisionOperators<decimal,decimal,decimal>, System.Numerics.IEqualityOperators<decimal,decimal,bool>, System.Numerics.IFloatingPoint<decimal>, System.Numerics.IFloatingPointConstants<decimal>, System.Numerics.IIncrementOperators<decimal>, System.Numerics.IMinMaxValue<decimal>, System.Numerics.IModulusOperators<decimal,decimal,decimal>, System.Numerics.IMultiplicativeIdentity<decimal,decimal>, System.Numerics.IMultiplyOperators<decimal,decimal,decimal>, System.Numerics.INumber<decimal>, System.Numerics.INumberBase<decimal>, System.Numerics.ISignedNumber<decimal>, System.Numerics.ISubtractionOperators<decimal,decimal,decimal>, System.Numerics.IUnaryNegationOperators<decimal,decimal>, System.Numerics.IUnaryPlusOperators<decimal,decimal>, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable
public readonly struct Decimal : IComparable<decimal>, IConvertible, IEquatable<decimal>, IParsable<decimal>, ISpanParsable<decimal>, IUtf8SpanParsable<decimal>, System.Numerics.IAdditionOperators<decimal,decimal,decimal>, System.Numerics.IAdditiveIdentity<decimal,decimal>, System.Numerics.IComparisonOperators<decimal,decimal,bool>, System.Numerics.IDecrementOperators<decimal>, System.Numerics.IDivisionOperators<decimal,decimal,decimal>, System.Numerics.IEqualityOperators<decimal,decimal,bool>, System.Numerics.IFloatingPoint<decimal>, System.Numerics.IFloatingPointConstants<decimal>, System.Numerics.IIncrementOperators<decimal>, System.Numerics.IMinMaxValue<decimal>, System.Numerics.IModulusOperators<decimal,decimal,decimal>, System.Numerics.IMultiplicativeIdentity<decimal,decimal>, System.Numerics.IMultiplyOperators<decimal,decimal,decimal>, System.Numerics.INumber<decimal>, System.Numerics.INumberBase<decimal>, System.Numerics.ISignedNumber<decimal>, System.Numerics.ISubtractionOperators<decimal,decimal,decimal>, System.Numerics.IUnaryNegationOperators<decimal,decimal>, System.Numerics.IUnaryPlusOperators<decimal,decimal>, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable
public struct Decimal : IComparable, IComparable<decimal>, IConvertible, IEquatable<decimal>, IFormattable, System.Runtime.Serialization.IDeserializationCallback
public readonly struct Decimal : IComparable, IComparable<decimal>, IConvertible, IEquatable<decimal>, IFormattable, System.Runtime.Serialization.IDeserializationCallback
[System.Serializable]
public struct Decimal : IComparable, IConvertible, IFormattable
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public struct Decimal : IComparable, IComparable<decimal>, IConvertible, IEquatable<decimal>, IFormattable
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public struct Decimal : IComparable, IComparable<decimal>, IConvertible, IEquatable<decimal>, IFormattable, System.Runtime.Serialization.IDeserializationCallback
public struct Decimal : IComparable, IComparable<decimal>, IEquatable<decimal>, IFormattable
type decimal = struct
    interface IConvertible
    interface IFormattable
type decimal = struct
    interface IConvertible
    interface IFormattable
    interface IDeserializationCallback
    interface ISerializable
type decimal = struct
    interface IConvertible
    interface ISpanFormattable
    interface IFormattable
    interface IDeserializationCallback
    interface ISerializable
type decimal = struct
    interface IConvertible
    interface IFormattable
    interface IParsable<decimal>
    interface ISpanFormattable
    interface ISpanParsable<decimal>
    interface IAdditionOperators<decimal, decimal, decimal>
    interface IAdditiveIdentity<decimal, decimal>
    interface IComparisonOperators<decimal, decimal, bool>
    interface IEqualityOperators<decimal, decimal, bool>
    interface IDecrementOperators<decimal>
    interface IDivisionOperators<decimal, decimal, decimal>
    interface IFloatingPoint<decimal>
    interface IFloatingPointConstants<decimal>
    interface INumberBase<decimal>
    interface IIncrementOperators<decimal>
    interface IMultiplicativeIdentity<decimal, decimal>
    interface IMultiplyOperators<decimal, decimal, decimal>
    interface ISubtractionOperators<decimal, decimal, decimal>
    interface IUnaryNegationOperators<decimal, decimal>
    interface IUnaryPlusOperators<decimal, decimal>
    interface IModulusOperators<decimal, decimal, decimal>
    interface INumber<decimal>
    interface ISignedNumber<decimal>
    interface IMinMaxValue<decimal>
    interface IDeserializationCallback
    interface ISerializable
type decimal = struct
    interface IConvertible
    interface IFormattable
    interface IParsable<decimal>
    interface ISpanFormattable
    interface ISpanParsable<decimal>
    interface IAdditionOperators<decimal, decimal, decimal>
    interface IAdditiveIdentity<decimal, decimal>
    interface IComparisonOperators<decimal, decimal, bool>
    interface IEqualityOperators<decimal, decimal, bool>
    interface IDecrementOperators<decimal>
    interface IDivisionOperators<decimal, decimal, decimal>
    interface IFloatingPoint<decimal>
    interface IFloatingPointConstants<decimal>
    interface INumberBase<decimal>
    interface IIncrementOperators<decimal>
    interface IMultiplicativeIdentity<decimal, decimal>
    interface IMultiplyOperators<decimal, decimal, decimal>
    interface ISubtractionOperators<decimal, decimal, decimal>
    interface IUnaryNegationOperators<decimal, decimal>
    interface IUnaryPlusOperators<decimal, decimal>
    interface IUtf8SpanFormattable
    interface IUtf8SpanParsable<decimal>
    interface IModulusOperators<decimal, decimal, decimal>
    interface INumber<decimal>
    interface ISignedNumber<decimal>
    interface IMinMaxValue<decimal>
    interface IDeserializationCallback
    interface ISerializable
type decimal = struct
    interface IConvertible
    interface IFormattable
    interface IParsable<decimal>
    interface ISpanFormattable
    interface ISpanParsable<decimal>
    interface IUtf8SpanFormattable
    interface IUtf8SpanParsable<decimal>
    interface IAdditionOperators<decimal, decimal, decimal>
    interface IAdditiveIdentity<decimal, decimal>
    interface IComparisonOperators<decimal, decimal, bool>
    interface IEqualityOperators<decimal, decimal, bool>
    interface IDecrementOperators<decimal>
    interface IDivisionOperators<decimal, decimal, decimal>
    interface IFloatingPoint<decimal>
    interface IFloatingPointConstants<decimal>
    interface IIncrementOperators<decimal>
    interface IMultiplicativeIdentity<decimal, decimal>
    interface IMultiplyOperators<decimal, decimal, decimal>
    interface INumberBase<decimal>
    interface ISubtractionOperators<decimal, decimal, decimal>
    interface IUnaryNegationOperators<decimal, decimal>
    interface IUnaryPlusOperators<decimal, decimal>
    interface IModulusOperators<decimal, decimal, decimal>
    interface INumber<decimal>
    interface ISignedNumber<decimal>
    interface IMinMaxValue<decimal>
    interface IDeserializationCallback
    interface ISerializable
type decimal = struct
    interface IConvertible
    interface IFormattable
    interface IDeserializationCallback
[<System.Serializable>]
type decimal = struct
    interface IFormattable
    interface IConvertible
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type decimal = struct
    interface IFormattable
    interface IConvertible
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type decimal = struct
    interface IFormattable
    interface IConvertible
    interface IDeserializationCallback
type decimal = struct
    interface IFormattable
Public Structure Decimal
Implements IComparable, IComparable(Of Decimal), IConvertible, IEquatable(Of Decimal), IFormattable
Public Structure Decimal
Implements IComparable, IComparable(Of Decimal), IConvertible, IDeserializationCallback, IEquatable(Of Decimal), IFormattable, ISerializable
Public Structure Decimal
Implements IComparable, IComparable(Of Decimal), IConvertible, IDeserializationCallback, IEquatable(Of Decimal), ISerializable, ISpanFormattable
Public Structure Decimal
Implements IAdditionOperators(Of Decimal, Decimal, Decimal), IAdditiveIdentity(Of Decimal, Decimal), IComparable(Of Decimal), IComparisonOperators(Of Decimal, Decimal, Boolean), IConvertible, IDecrementOperators(Of Decimal), IDeserializationCallback, IDivisionOperators(Of Decimal, Decimal, Decimal), IEqualityOperators(Of Decimal, Decimal, Boolean), IEquatable(Of Decimal), IFloatingPoint(Of Decimal), IFloatingPointConstants(Of Decimal), IIncrementOperators(Of Decimal), IMinMaxValue(Of Decimal), IModulusOperators(Of Decimal, Decimal, Decimal), IMultiplicativeIdentity(Of Decimal, Decimal), IMultiplyOperators(Of Decimal, Decimal, Decimal), INumber(Of Decimal), INumberBase(Of Decimal), IParsable(Of Decimal), ISerializable, ISignedNumber(Of Decimal), ISpanParsable(Of Decimal), ISubtractionOperators(Of Decimal, Decimal, Decimal), IUnaryNegationOperators(Of Decimal, Decimal), IUnaryPlusOperators(Of Decimal, Decimal)
Public Structure Decimal
Implements IAdditionOperators(Of Decimal, Decimal, Decimal), IAdditiveIdentity(Of Decimal, Decimal), IComparable(Of Decimal), IComparisonOperators(Of Decimal, Decimal, Boolean), IConvertible, IDecrementOperators(Of Decimal), IDeserializationCallback, IDivisionOperators(Of Decimal, Decimal, Decimal), IEqualityOperators(Of Decimal, Decimal, Boolean), IEquatable(Of Decimal), IFloatingPoint(Of Decimal), IFloatingPointConstants(Of Decimal), IIncrementOperators(Of Decimal), IMinMaxValue(Of Decimal), IModulusOperators(Of Decimal, Decimal, Decimal), IMultiplicativeIdentity(Of Decimal, Decimal), IMultiplyOperators(Of Decimal, Decimal, Decimal), INumber(Of Decimal), INumberBase(Of Decimal), IParsable(Of Decimal), ISerializable, ISignedNumber(Of Decimal), ISpanParsable(Of Decimal), ISubtractionOperators(Of Decimal, Decimal, Decimal), IUnaryNegationOperators(Of Decimal, Decimal), IUnaryPlusOperators(Of Decimal, Decimal), IUtf8SpanParsable(Of Decimal)
Public Structure Decimal
Implements IComparable, IComparable(Of Decimal), IConvertible, IDeserializationCallback, IEquatable(Of Decimal), IFormattable
Public Structure Decimal
Implements IComparable, IConvertible, IFormattable
Public Structure Decimal
Implements IComparable, IComparable(Of Decimal), IEquatable(Of Decimal), IFormattable
상속
Decimal
특성
구현
IComparable IComparable<Decimal> IConvertible IEquatable<Decimal> IFormattable IDeserializationCallback ISerializable ISpanFormattable IComparable<TSelf> IEquatable<TSelf> IParsable<Decimal> IParsable<TSelf> ISpanParsable<Decimal> ISpanParsable<TSelf> IAdditionOperators<Decimal,Decimal,Decimal> IAdditionOperators<TSelf,TSelf,TSelf> IAdditiveIdentity<Decimal,Decimal> IAdditiveIdentity<TSelf,TSelf> IComparisonOperators<Decimal,Decimal,Boolean> IComparisonOperators<TSelf,TSelf,Boolean> IDecrementOperators<Decimal> IDecrementOperators<TSelf> IDivisionOperators<Decimal,Decimal,Decimal> IDivisionOperators<TSelf,TSelf,TSelf> IEqualityOperators<Decimal,Decimal,Boolean> IEqualityOperators<TSelf,TOther,TResult> IEqualityOperators<TSelf,TSelf,Boolean> IFloatingPoint<Decimal> IFloatingPointConstants<Decimal> IFloatingPointConstants<TSelf> IIncrementOperators<Decimal> IIncrementOperators<TSelf> IMinMaxValue<Decimal> IModulusOperators<Decimal,Decimal,Decimal> IModulusOperators<TSelf,TSelf,TSelf> IMultiplicativeIdentity<Decimal,Decimal> IMultiplicativeIdentity<TSelf,TSelf> IMultiplyOperators<Decimal,Decimal,Decimal> IMultiplyOperators<TSelf,TSelf,TSelf> INumber<Decimal> INumber<TSelf> INumberBase<Decimal> INumberBase<TSelf> ISignedNumber<Decimal> ISignedNumber<TSelf> ISubtractionOperators<Decimal,Decimal,Decimal> ISubtractionOperators<TSelf,TSelf,TSelf> IUnaryNegationOperators<Decimal,Decimal> IUnaryNegationOperators<TSelf,TSelf> IUnaryPlusOperators<Decimal,Decimal> IUnaryPlusOperators<TSelf,TSelf> IUtf8SpanFormattable IUtf8SpanParsable<Decimal> IUtf8SpanParsable<TSelf>

설명

이 API에 대한 자세한 내용은 Decimal에 대한 추가 API 설명을 참조하세요.

생성자

Decimal(Double)

Decimal의 새 인스턴스를 지정된 배정밀도 부동 소수점 숫자의 값으로 초기화합니다.

Decimal(Int32)

Decimal의 새 인스턴스를 지정된 32비트 부호 있는 정수 값으로 초기화합니다.

Decimal(Int32, Int32, Int32, Boolean, Byte)

인스턴스의 구성 부분을 지정하는 매개 변수에서 Decimal의 새 인스턴스를 초기화합니다.

Decimal(Int32[])

Decimal의 새 인스턴스를 이진으로 표현되며 지정한 배열에 포함된 10진 값으로 초기화합니다.

Decimal(Int64)

Decimal의 새 인스턴스를 지정된 64비트 부호 있는 정수 값으로 초기화합니다.

Decimal(ReadOnlySpan<Int32>)

Decimal의 새 인스턴스를 이진으로 표현되고 지정된 범위에 포함된 10진수 값으로 초기화합니다.

Decimal(Single)

Decimal의 새 인스턴스를 지정된 단정밀도 부동 소수점 숫자의 값으로 초기화합니다.

Decimal(UInt32)

Decimal의 새 인스턴스를 지정된 32비트 부호 없는 정수 값으로 초기화합니다.

Decimal(UInt64)

Decimal의 새 인스턴스를 지정된 64비트 부호 없는 정수 값으로 초기화합니다.

필드

MaxValue

Decimal의 가능한 최대값을 나타냅니다. 이 필드는 상수이며 읽기 전용입니다.

MinusOne

음수 1(-1)을 나타냅니다.

MinValue

Decimal의 가능한 최소값을 나타냅니다. 이 필드는 상수이며 읽기 전용입니다.

One

숫자 1을 나타냅니다.

Zero

숫자 0을 나타냅니다.

속성

Scale

소수 자릿수를 나타내는 0에서 28까지의 숫자인 10진수의 배율 인수를 가져옵니다.

메서드

Abs(Decimal)

값의 절대값을 계산합니다.

Add(Decimal, Decimal)

지정된 두 Decimal 값을 더합니다.

Ceiling(Decimal)

지정된 10진수보다 크거나 같은 최소 정수 값을 반환합니다.

Clamp(Decimal, Decimal, Decimal)

값을 포괄 최소값 및 최대값으로 고정합니다.

Compare(Decimal, Decimal)

지정된 두 Decimal 값을 비교합니다.

CompareTo(Decimal)

이 인스턴스를 지정된 Decimal 개체와 비교하여 상대 값의 비교를 반환합니다.

CompareTo(Object)

이 인스턴스를 지정된 개체와 비교하여 상대 값의 비교를 반환합니다.

CopySign(Decimal, Decimal)

값의 기호를 다른 값의 기호에 복사합니다.

CreateChecked<TOther>(TOther)

값에서 현재 형식의 instance 만들어 현재 형식의 표현 가능한 범위를 벗어나는 값에 대해 오버플로 예외를 throw합니다.

CreateSaturating<TOther>(TOther)

값에서 현재 형식의 instance 만들어 현재 형식의 표현 가능한 범위를 벗어나는 모든 값을 채도합니다.

CreateTruncating<TOther>(TOther)

값에서 현재 형식의 instance 만들어 현재 형식의 표현 가능한 범위를 벗어나는 값을 잘리게 합니다.

Divide(Decimal, Decimal)

지정된 두 Decimal 값을 나눕니다.

Equals(Decimal)

이 인스턴스의 값과 지정된 Decimal 개체의 값이 같은지를 나타내는 값을 반환합니다.

Equals(Decimal, Decimal)

지정된 두 개의 Decimal 인스턴스가 같은 값을 표시하는지 여부를 나타내는 값을 반환합니다.

Equals(Object)

이 인스턴스와 지정된 Object가 같은 형식과 값을 표시하는지 여부를 나타내는 값을 반환합니다.

Floor(Decimal)

지정된 Decimal 수를 음의 무한대에 가장 가까운 정수로 반올림합니다.

FromOACurrency(Int64)

OLE Automation Currency 값을 포함하는 지정된 64비트 부호 있는 정수를 해당하는 Decimal 값으로 변환합니다.

GetBits(Decimal)

Decimal의 지정된 인스턴스 값을 해당하는 이진 표현으로 변환합니다.

GetBits(Decimal, Span<Int32>)

Decimal의 지정된 인스턴스 값을 해당하는 이진 표현으로 변환합니다.

GetHashCode()

이 인스턴스의 해시 코드를 반환합니다.

GetTypeCode()

TypeCode 값 형식에 대한 Decimal를 반환합니다.

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)

지정된 두 Decimal 값을 곱합니다.

Negate(Decimal)

지정된 Decimal 값과 음수 1을 곱한 결과를 반환합니다.

Parse(ReadOnlySpan<Byte>, IFormatProvider)

UTF-8자의 범위를 값으로 구문 분석합니다.

Parse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider)

UTF-8자의 범위를 값으로 구문 분석합니다.

Parse(ReadOnlySpan<Char>, IFormatProvider)

문자 범위를 값으로 구문 분석합니다.

Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)

지정된 스타일 및 문화권별 지정 형식을 사용하여 숫자의 범위 표현을 해당하는 Decimal로 변환합니다.

Parse(String)

숫자의 문자열 표현을 해당하는 Decimal로 변환합니다.

Parse(String, IFormatProvider)

지정된 문화권별 형식 정보를 사용하여 숫자의 문자열 표현을 해당 Decimal로 변환합니다.

Parse(String, NumberStyles)

숫자를 지정된 스타일로 나타낸 문자열 표현을 해당 Decimal로 변환합니다.

Parse(String, NumberStyles, IFormatProvider)

지정된 스타일 및 문화권별 형식을 사용하여 숫자의 문자열 표현을 해당하는 Decimal로 변환합니다.

Remainder(Decimal, Decimal)

Decimal 값을 나눈 나머지를 계산합니다.

Round(Decimal)

10진 값을 가장 가까운 정수로 반올림합니다.

Round(Decimal, Int32)

Decimal 값을 지정된 소수 자릿수로 반올림합니다.

Round(Decimal, Int32, MidpointRounding)

지정된 반올림 전략을 사용하여 소수 값을 지정된 전체 자릿수로 반올림합니다.

Round(Decimal, MidpointRounding)

지정된 반올림 전략을 사용하여 10진수 값을 정수로 반올림합니다.

Sign(Decimal)

값의 기호를 계산합니다.

Subtract(Decimal, Decimal)

다른 값에서 지정된 Decimal 값을 뺍니다.

ToByte(Decimal)

지정된 Decimal의 값을 해당하는 8비트 부호 없는 정수로 변환합니다.

ToDouble(Decimal)

지정된 Decimal의 값을 해당하는 배정밀도 부동 소수점 숫자로 변환합니다.

ToInt16(Decimal)

지정된 Decimal의 값을 해당하는 16비트 부호 있는 정수로 변환합니다.

ToInt32(Decimal)

지정된 Decimal의 값을 해당하는 32비트 부호 있는 정수로 변환합니다.

ToInt64(Decimal)

지정된 Decimal의 값을 해당하는 64비트 부호 있는 정수로 변환합니다.

ToOACurrency(Decimal)

지정된 Decimal 값을 64비트 부호 있는 정수에 포함된 해당 OLE Automation Currency 값으로 변환합니다.

ToSByte(Decimal)

지정된 Decimal의 값을 해당하는 8비트 부호 있는 정수로 변환합니다.

ToSingle(Decimal)

지정된 Decimal의 값을 해당하는 단정밀도 부동 소수점 숫자로 변환합니다.

ToString()

이 인스턴스의 숫자 값을 해당하는 문자열 표현으로 변환합니다.

ToString(IFormatProvider)

지정된 문화권별 형식 정보를 사용하여 이 인스턴스의 숫자 값을 해당 문자열 표현으로 변환합니다.

ToString(String)

지정된 형식을 사용하여 이 인스턴스의 숫자 값을 해당 문자열 표현으로 변환합니다.

ToString(String, IFormatProvider)

지정된 형식 및 문화권별 형식 정보를 사용하여 이 인스턴스의 숫자 값을 해당 문자열 표현으로 변환합니다.

ToUInt16(Decimal)

지정된 Decimal의 값을 해당하는 16비트 부호 없는 정수로 변환합니다.

ToUInt32(Decimal)

지정된 Decimal의 값을 해당하는 32비트 부호 없는 정수로 변환합니다.

ToUInt64(Decimal)

지정된 Decimal의 값을 해당하는 64비트 부호 없는 정수로 변환합니다.

Truncate(Decimal)

소수 자리를 삭제하고 지정된 Decimal의 정수 자리만 반환합니다.

TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider)

현재 instance 값의 형식을 제공된 바이트 범위로 UTF-8로 지정하려고 시도합니다.

TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider)

현재의 10진수 인스턴스 값을 제공된 문자 범위의 형식으로 지정하려고 시도합니다.

TryGetBits(Decimal, Span<Int32>, Int32)

Decimal의 지정된 인스턴스 값을 동일한 이진 표현으로 변환합니다.

TryParse(ReadOnlySpan<Byte>, Decimal)

숫자의 문자열 표현을 포함하는 UTF-8 문자 범위를 부호 있는 10진수로 변환하려고 시도합니다.

TryParse(ReadOnlySpan<Byte>, IFormatProvider, Decimal)

UTF-8 문자의 범위를 값으로 구문 분석하려고 시도합니다.

TryParse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider, Decimal)

UTF-8 문자의 범위를 값으로 구문 분석하려고 시도합니다.

TryParse(ReadOnlySpan<Char>, Decimal)

지정된 스타일 및 문화권별 지정 형식을 사용하여 숫자의 범위 표현을 해당하는 Decimal로 변환합니다. 반환 값은 변환이 성공했는지 아니면 실패했는지를 나타냅니다.

TryParse(ReadOnlySpan<Char>, IFormatProvider, Decimal)

문자 범위를 값으로 구문 분석하려고 시도합니다.

TryParse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider, Decimal)

지정된 스타일 및 문화권별 지정 형식을 사용하여 숫자의 범위 표현을 해당하는 Decimal로 변환합니다. 반환 값은 변환이 성공했는지 아니면 실패했는지를 나타냅니다.

TryParse(String, Decimal)

숫자의 문자열 표현을 해당하는 Decimal로 변환합니다. 반환 값은 변환이 성공했는지 아니면 실패했는지를 나타냅니다.

TryParse(String, IFormatProvider, Decimal)

문자열을 값으로 구문 분석하려고 합니다.

TryParse(String, NumberStyles, IFormatProvider, Decimal)

지정된 스타일 및 문화권별 형식을 사용하여 숫자의 문자열 표현을 해당하는 Decimal로 변환합니다. 반환 값은 변환이 성공했는지 아니면 실패했는지를 나타냅니다.

연산자

Addition(Decimal, Decimal)

지정된 두 Decimal 값을 더합니다.

Decrement(Decimal)

Decimal 피연산자를 1씩 감소시킵니다.

Division(Decimal, Decimal)

지정된 두 Decimal 값을 나눕니다.

Equality(Decimal, Decimal)

Decimal 값이 같은지 여부를 나타내는 값을 반환합니다.

Explicit(Decimal to Byte)

Decimal을 8비트 부호 없는 정수로 변환하는 명시적 변환을 정의합니다.

Explicit(Decimal to Char)

Decimal을 유니코드 문자로 변환하는 명시적 변환을 정의합니다.

Explicit(Decimal to Double)

Decimal을 배정밀도 부동 소수점 숫자로 변환하는 명시적 변환을 정의합니다.

Explicit(Decimal to Int16)

Decimal을 16비트 부호 있는 정수로 변환하는 명시적 변환을 정의합니다.

Explicit(Decimal to Int32)

Decimal을 32비트 부호 있는 정수로 변환하는 명시적 변환을 정의합니다.

Explicit(Decimal to Int64)

Decimal을 64비트 부호 있는 정수로 변환하는 명시적 변환을 정의합니다.

Explicit(Decimal to SByte)

Decimal을 8비트 부호 있는 정수로 변환하는 명시적 변환을 정의합니다.

이 API는 CLS 규격이 아닙니다.

Explicit(Decimal to Single)

Decimal을 단정밀도 부동 소수점 숫자로 변환하는 명시적 변환을 정의합니다.

Explicit(Decimal to UInt16)

Decimal을 16비트 부호 없는 정수로 변환하는 명시적 변환을 정의합니다.

이 API는 CLS 규격이 아닙니다.

Explicit(Decimal to UInt32)

Decimal을 32비트 부호 없는 정수로 변환하는 명시적 변환을 정의합니다.

이 API는 CLS 규격이 아닙니다.

Explicit(Decimal to UInt64)

Decimal을 64비트 부호 없는 정수로 변환하는 명시적 변환을 정의합니다.

이 API는 CLS 규격이 아닙니다.

Explicit(Double to Decimal)

배정밀도 부동 소수점 숫자를 Decimal로 변환하는 명시적 변환을 정의합니다.

Explicit(Single to Decimal)

단정밀도 부동 소수점 숫자를 Decimal로 변환하는 명시적 변환을 정의합니다.

GreaterThan(Decimal, Decimal)

지정된 Decimal이 지정된 다른 Decimal보다 큰지 여부를 나타내는 값을 반환합니다.

GreaterThanOrEqual(Decimal, Decimal)

지정된 Decimal이 지정된 다른 Decimal보다 크거나 같은지 여부를 나타내는 값을 반환합니다.

Implicit(Byte to Decimal)

8비트 부호 없는 정수를 Decimal로 변환하는 명시적 변환을 정의합니다.

Implicit(Char to Decimal)

유니코드 문자를 Decimal로 변환하는 암시적 변환을 정의합니다.

Implicit(Int16 to Decimal)

16비트 부호 있는 정수를 Decimal로 변환하는 암시적 변환을 정의합니다.

Implicit(Int32 to Decimal)

32비트 부호 있는 정수를 Decimal로 변환하는 암시적 변환을 정의합니다.

Implicit(Int64 to Decimal)

64비트 부호 있는 정수를 Decimal로 변환하는 암시적 변환을 정의합니다.

Implicit(SByte to Decimal)

부호 있는 8비트 정수를 Decimal 값으로 변환하는 암시적 변환을 정의합니다.

이 API는 CLS 규격이 아닙니다.

Implicit(UInt16 to Decimal)

부호 없는 16비트 정수를 Decimal로 변환하는 암시적 변환을 정의합니다.

이 API는 CLS 규격이 아닙니다.

Implicit(UInt32 to Decimal)

부호 없는 32비트 정수를 Decimal로 변환하는 암시적 변환을 정의합니다.

이 API는 CLS 규격이 아닙니다.

Implicit(UInt64 to Decimal)

부호 없는 64비트 정수를 Decimal로 변환하는 암시적 변환을 정의합니다.

이 API는 CLS 규격이 아닙니다.

Increment(Decimal)

Decimal 피연산자를 1씩 증가시킵니다.

Inequality(Decimal, Decimal)

Decimal 개체의 값이 다른지 여부를 나타내는 값을 반환합니다.

LessThan(Decimal, Decimal)

지정된 Decimal이 지정된 다른 Decimal보다 작은지 여부를 나타내는 값을 반환합니다.

LessThanOrEqual(Decimal, Decimal)

지정된 Decimal이 지정된 다른 Decimal보다 작거나 같은지 여부를 나타내는 값을 반환합니다.

Modulus(Decimal, Decimal)

지정된 두 Decimal 값을 나눈 나머지를 반환합니다.

Multiply(Decimal, Decimal)

지정된 두 Decimal 값을 곱합니다.

Subtraction(Decimal, Decimal)

지정된 두 Decimal 값을 뺍니다.

UnaryNegation(Decimal)

지정된 Decimal 피연산자 값의 부정입니다.

UnaryPlus(Decimal)

Decimal 피연산자의 값을 반환합니다(피연산자의 부호는 변경되지 않음).

명시적 인터페이스 구현

IAdditiveIdentity<Decimal,Decimal>.AdditiveIdentity

현재 형식의 추가 ID를 가져옵니다.

IComparable.CompareTo(Object)

현재 인스턴스와 동일한 형식의 다른 개체를 비교하고 정렬 순서에서 현재 인스턴스의 위치가 다른 개체보다 앞인지, 뒤인지 또는 동일한지를 나타내는 정수를 반환합니다.

IConvertible.GetTypeCode()

이 인스턴스에 대한 TypeCode를 반환합니다.

IConvertible.ToBoolean(IFormatProvider)

이 멤버에 대한 설명은 ToBoolean(IFormatProvider)를 참조하세요.

IConvertible.ToByte(IFormatProvider)

이 멤버에 대한 설명은 ToByte(IFormatProvider)를 참조하세요.

IConvertible.ToChar(IFormatProvider)

이 변환은 지원되지 않습니다. 이 메서드를 사용하려고 하면 InvalidCastException이 throw됩니다.

IConvertible.ToDateTime(IFormatProvider)

이 변환은 지원되지 않습니다. 이 메서드를 사용하려고 하면 InvalidCastException이 throw됩니다.

IConvertible.ToDecimal(IFormatProvider)

이 멤버에 대한 설명은 ToDecimal(IFormatProvider)를 참조하세요.

IConvertible.ToDouble(IFormatProvider)

이 멤버에 대한 설명은 ToDouble(IFormatProvider)를 참조하세요.

IConvertible.ToInt16(IFormatProvider)

이 멤버에 대한 설명은 ToInt16(IFormatProvider)를 참조하세요.

IConvertible.ToInt32(IFormatProvider)

이 멤버에 대한 설명은 ToInt32(IFormatProvider)를 참조하세요.

IConvertible.ToInt64(IFormatProvider)

이 멤버에 대한 설명은 ToInt64(IFormatProvider)를 참조하세요.

IConvertible.ToSByte(IFormatProvider)

이 멤버에 대한 설명은 ToSByte(IFormatProvider)를 참조하세요.

IConvertible.ToSingle(IFormatProvider)

이 멤버에 대한 설명은 ToSingle(IFormatProvider)를 참조하세요.

IConvertible.ToType(Type, IFormatProvider)

이 멤버에 대한 설명은 ToType(Type, IFormatProvider)를 참조하세요.

IConvertible.ToUInt16(IFormatProvider)

이 멤버에 대한 설명은 ToUInt16(IFormatProvider)를 참조하세요.

IConvertible.ToUInt32(IFormatProvider)

이 멤버에 대한 설명은 ToInt32(IFormatProvider)를 참조하세요.

IConvertible.ToUInt64(IFormatProvider)

이 멤버에 대한 설명은 ToInt64(IFormatProvider)를 참조하세요.

IDeserializationCallback.OnDeserialization(Object)

개체의 deserialization이 완료될 때 실행됩니다.

IFloatingPoint<Decimal>.GetExponentByteCount()

의 일부로 TryWriteExponentLittleEndian(Span<Byte>, Int32)작성될 바이트 수를 가져옵니다.

IFloatingPoint<Decimal>.GetExponentShortestBitLength()

현재 지수의 가장 짧은 두 개의 보수 표현의 길이(비트)를 가져옵니다.

IFloatingPoint<Decimal>.GetSignificandBitLength()

현재 중요도의 길이(비트)를 가져옵니다.

IFloatingPoint<Decimal>.GetSignificandByteCount()

의 일부로 TryWriteSignificandLittleEndian(Span<Byte>, Int32)작성될 바이트 수를 가져옵니다.

IFloatingPoint<Decimal>.TryWriteExponentBigEndian(Span<Byte>, Int32)

현재 지수를 big-endian 형식으로 지정된 범위에 쓰려고 시도합니다.

IFloatingPoint<Decimal>.TryWriteExponentLittleEndian(Span<Byte>, Int32)

현재 지수를 little-endian 형식으로 지정된 범위에 쓰려고 시도합니다.

IFloatingPoint<Decimal>.TryWriteSignificandBigEndian(Span<Byte>, Int32)

현재 중요를 big-endian 형식으로 지정된 범위에 쓰려고 시도합니다.

IFloatingPoint<Decimal>.TryWriteSignificandLittleEndian(Span<Byte>, Int32)

현재 의미 있는 를 little-endian 형식으로 지정된 범위에 쓰려고 시도합니다.

IFloatingPointConstants<Decimal>.E

수학 상수를 e가져옵니다.

IFloatingPointConstants<Decimal>.Pi

수학 상수를 pi가져옵니다.

IFloatingPointConstants<Decimal>.Tau

수학 상수를 tau가져옵니다.

IMinMaxValue<Decimal>.MaxValue

현재 형식의 최대값을 가져옵니다.

IMinMaxValue<Decimal>.MinValue

현재 형식의 최소값을 가져옵니다.

IMultiplicativeIdentity<Decimal,Decimal>.MultiplicativeIdentity

현재 형식의 곱하기 ID를 가져옵니다.

INumber<Decimal>.MaxNumber(Decimal, Decimal)

두 값을 더 큰 컴퓨팅과 비교하고 입력이 인 경우 다른 값을 반환합니다 NaN.

INumber<Decimal>.MinNumber(Decimal, Decimal)

두 값을 더 작은 컴퓨팅과 비교하고 입력이 인 경우 다른 값을 반환합니다 NaN.

INumberBase<Decimal>.IsComplexNumber(Decimal)

값이 복소수를 나타내는지 여부를 결정합니다.

INumberBase<Decimal>.IsFinite(Decimal)

값이 유한한지 여부를 확인합니다.

INumberBase<Decimal>.IsImaginaryNumber(Decimal)

값이 순수 허수의 숫자를 나타내는지 여부를 결정합니다.

INumberBase<Decimal>.IsInfinity(Decimal)

값이 무한인지 확인합니다.

INumberBase<Decimal>.IsNaN(Decimal)

값이 NaN인지 확인합니다.

INumberBase<Decimal>.IsNegativeInfinity(Decimal)

값이 음수 무한대인지 확인합니다.

INumberBase<Decimal>.IsNormal(Decimal)

값이 정상인지 확인합니다.

INumberBase<Decimal>.IsPositiveInfinity(Decimal)

값이 양의 무한대인지 확인합니다.

INumberBase<Decimal>.IsRealNumber(Decimal)

값이 실제 숫자를 나타내는지 여부를 결정합니다.

INumberBase<Decimal>.IsSubnormal(Decimal)

값이 영하인지 확인합니다.

INumberBase<Decimal>.IsZero(Decimal)

값이 0인지 확인합니다.

INumberBase<Decimal>.MaxMagnitudeNumber(Decimal, Decimal)

크기가 더 큰 컴퓨팅과 두 값을 비교하고 입력이 인 경우 다른 값을 반환합니다 NaN.

INumberBase<Decimal>.MinMagnitudeNumber(Decimal, Decimal)

크기가 작은 컴퓨팅과 두 값을 비교하고 입력이 인 경우 다른 값을 반환합니다 NaN.

INumberBase<Decimal>.One

형식의 값을 1 가져옵니다.

INumberBase<Decimal>.Radix

형식의 radix 또는 base를 가져옵니다.

INumberBase<Decimal>.TryConvertFromChecked<TOther>(TOther, Decimal)

10진수 부동 소수점 숫자를 나타냅니다.

INumberBase<Decimal>.TryConvertFromSaturating<TOther>(TOther, Decimal)

10진수 부동 소수점 숫자를 나타냅니다.

INumberBase<Decimal>.TryConvertFromTruncating<TOther>(TOther, Decimal)

10진수 부동 소수점 숫자를 나타냅니다.

INumberBase<Decimal>.TryConvertToChecked<TOther>(Decimal, TOther)

현재 형식의 instance 다른 형식으로 변환하여 현재 형식의 표시 가능한 범위를 벗어나는 값에 대해 오버플로 예외를 throw합니다.

INumberBase<Decimal>.TryConvertToSaturating<TOther>(Decimal, TOther)

현재 형식의 instance 다른 형식으로 변환하여 현재 형식의 표현 가능한 범위를 벗어나는 값을 채도합니다.

INumberBase<Decimal>.TryConvertToTruncating<TOther>(Decimal, TOther)

현재 형식의 instance 다른 형식으로 변환하여 현재 형식의 표현 가능한 범위를 벗어나는 값을 잘리려고 시도합니다.

INumberBase<Decimal>.Zero

형식의 값을 0 가져옵니다.

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

대상 개체를 직렬화하는 데 필요한 데이터로 SerializationInfo를 채웁니다.

ISignedNumber<Decimal>.NegativeOne

형식의 값을 -1 가져옵니다.

적용 대상

스레드 보안

이 형식의 모든 멤버는 스레드로부터 안전합니다. instance 상태를 수정하는 것처럼 보이는 멤버는 실제로 새 값으로 초기화된 새 instance 반환합니다. 다른 형식과 마찬가지로 이 형식의 instance 포함된 공유 변수를 읽고 쓰는 것은 스레드 안전을 보장하기 위해 잠금으로 보호되어야 합니다.

추가 정보