System.Math.TValueSign
Delphi
type TValueSign = -1..1;
C++
typedef System::Int8 TValueSign;
Propriétés
| Type | Visibilité | Source | Unité | Parent |
|---|---|---|---|---|
type typedef |
public | System.Math.pas System.Math.hpp |
System.Math | System.Math |
Description
TValueSign définit la valeur Sign renvoyée.
La routine Sign détermine si un nombre est négatif, positif ou égal à zéro. Elle renvoie le résultat dans une valeur TValueSign comme suit :
| Valeur | Constante associée | Signification |
|---|---|---|
|
-1 |
NegativeValue |
Nombre négatif. |
|
0 |
ZeroValue |
Zéro. |
|
+1 |
PositiveValue |
Nombre positif. |