type/positive - check for a positive number
type/negative - check for a negative number
type/nonnegative - check for a non-negative number
type/nonpositive - check for a non-positive number
|
Calling Sequence
|
|
type(x, positive)
type(x, negative)
type(x, nonnegative)
type(x, nonpositive)
|
|
Description
|
|
•
|
The functions type(x, positive), type(x, negative), type(x, nonnegative), and type(x, nonpositive) return true if x is a positive, negative, non-negative, or non-positive extended_numeric number, respectively. Otherwise, false is returned.
|
|
|
Examples
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
|
|
Download Help Document
Was this information helpful?