IsZero
Predicates functions IsZero
syntax
- isZero(a)
definition
isZero(a) results in a boolean Data item with values True for zero and False for all other values of data item a.
applies to
- data item with Numeric Value type
example
attribute<bool> IsZeroA (ADomain) := isZero(A);
| A(float32) | IsZeroA |
|---|---|
| 0 | True |
| null | False |
| 1000000 | False |
| -2.5 | False |
| 99.9 | False |
ADomain, nr of rows = 5