프로그래밍 언어/Delphi
[Reference] System.Odd
얗마
2017. 2. 7. 20:59
Delphi
function Odd(X: Integer): Boolean;
Properties
Type |
Visibility |
Source |
Unit |
Parent |
function |
public |
System.pas |
Description
Returns True if argument is an odd number.
In Delphi code, Odd tests whether the argument is an odd number.
It returns True if X is an odd number, False if X is even.
인수가 홀수인 경우 True를 반환합니다.
Delphi 코드에서 Odd는 인수가 홀수인지 여부를 테스트합니다.
X가 홀수인 경우 True를 반환하고 X가 짝수인 경우 False를 반환합니다.
출처: http://docwiki.embarcadero.com/Libraries/XE2/en/System.Odd