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 |