MakeDefined
Predicates functions MakeDefined
syntax
- MakeDefined(a, value)
definition
MakeDefined(a, value) defines the Argument value (often zero) for the Null values in Data item a.
applies to
- data items with Numeric, Point or string Value type
conditions
- The Values unit of the arguments a and value must match.
- The Domain unit of the arguments must match or be Void (literals or parameters can be calculated with data items of any domain).
example
attribute<float32> MakeDefinedA (ADomain) := MakeDefined(A, 0f);
| A(float32) | MakeDefinedA |
|---|---|
| 0 | 0 |
| null | 0 |
| 1000000 | 1000000 |
| -2.5 | -2.5 |
| 99.9 | 99.9 |