IsPositive
- Details
- Last Updated on Saturday, 19 January 2013 20:05
syntax
- IsPositive(a)
definition
IsPositive(a) results in a boolean data item with values True for positive and False for negative and 0 values.
applies to
Data items with value types:
- group: Numeric
since version
5.15
example
attribute<bool> IsPositive(ADomain): expr = "IsPositive(A)";
| A(float32) | IsPositiveA | |
| 0 | False | |
| null | False | |
| 1000000 | True | |
| -2.5 | False | |
| 99.9 | True |