IntPtr.IsOddInteger(IntPtr) 메서드

정의

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

public:
 static bool IsOddInteger(IntPtr value) = System::Numerics::INumberBase<IntPtr>::IsOddInteger;
public static bool IsOddInteger (IntPtr value);
static member IsOddInteger : nativeint -> bool
Public Shared Function IsOddInteger (value As IntPtr) As Boolean

매개 변수

value
IntPtr

nativeint

반환

Boolean

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

구현

설명

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

반환 값이 false 반환true된다는 IsEvenInteger(TSelf) 의미는 아닙니다. 예를 들어 3.3소수 부분이 있는 숫자는 짝수 또는 홀수가 아닙니다.

적용 대상