NAME
IsNegative — Tell whether value is negative or not.
SYNOPSIS
IsNegative
Value
DESCRIPTION
Return Value
1
The value is negative.
0
The value is not negative.
Arguments
Value
Value to check.
More Info
If a non-numeric value is put in then an error will be generated.
For information regarding exceptions / errors, see
here
.
EXAMPLES
%
IsNegative -1
1
% IsNegative 0
0
SEE ALSO
IsNonPositive
,
IsPositive
KEYWORDS
check
,
math
,
string
,
validation
,
verification