Die Funktion Sign gibt Informationen zum Vorzeichen einer Zahl.
Syntax | ||||
Sign(Value) | ||||
Return value | ||||
Type |
Description | |||
Long |
Informations about the sign of Value | |||
Parameter | ||||
Use |
Name |
Type |
Passing |
Description |
Required |
Value |
Double |
ByVal |
Value to get sign information |
Result |
Description |
1 |
Value > 0 |
0 |
Value = 0 |
-1 |
Value < 0 |
Example
If Sign(Profit)
<> 1 Then
#
Attention, turn on the
billing office!
EndIf