System.Odd
Delphi
function Odd(X: Integer): Boolean;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | System.pas | System | System |
Description
Renvoie true si l'argument est un nombre impair.
Dans le code Delphi, la fonction Odd teste si l'argument est un nombre impair. Elle renvoie true si X est un nombre impair, et false si X est un nombre pair.