UIntPtr.IsEvenInteger(UIntPtr) 메서드

정의

값이 짝수 정수인지 여부를 결정합니다.

public:
 static bool IsEvenInteger(UIntPtr value) = System::Numerics::INumberBase<UIntPtr>::IsEvenInteger;
public static bool IsEvenInteger (UIntPtr value);
static member IsEvenInteger : unativeint -> bool
Public Shared Function IsEvenInteger (value As UIntPtr) As Boolean

매개 변수

value
UIntPtr

unativeint

반환

Boolean

true if value is an even integer; otherwise, false.

구현

설명

이 메서드는 부동 소수점 값을 올바르게 처리하므로 2.0 반환되는 동안 2.2 반환 true false됩니다.

반환 값이 false 반환된다는 IsOddInteger(TSelf) 의미는 true아닙니다. 소수 부분이 있는 숫자(예: 3.3짝수 또는 홀수)입니다.

적용 대상