UInt32.IsEvenInteger(UInt32) 메서드

정의

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

public:
 static bool IsEvenInteger(System::UInt32 value) = System::Numerics::INumberBase<System::UInt32>::IsEvenInteger;
public static bool IsEvenInteger (uint value);
static member IsEvenInteger : uint32 -> bool
Public Shared Function IsEvenInteger (value As UInteger) As Boolean

매개 변수

value
UInt32

검사할 값입니다.

반환

true 가 짝수 정수이면 value 이고, false그렇지 않으면 입니다.

구현

설명

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

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

적용 대상