Neg - ObjectVision/GeoDMS GitHub Wiki
Arithmetic functions negative (-)
- neg(a)
- - a
neg(a) or - a results in the negative values of data item a.
Data item or unit with Numeric value type
1. attribute<float32> negA (ADomain) := neg(A);
2. attribute<float32> negA (ADomain) := - A;
| A | negA |
|---|---|
| 0 | 0 |
| 1 | -1 |
| -2 | 2 |
| 3.6 | -3.6 |
| 999 | -999 |
ADomain, nr of rows = 5