Round_64
conversion-functions round_64
syntax
round_64(a)
definition
round_64(a) results in a integer data item rounded off from data-item a. Float32/64 data items are round_64ed off to the int64 value-type.
applies to
- data item with float32 or float64 value type
since version
5.45
example
attribute<int32> round_64A (ADomain) := round_64(A);
A | round_64A |
---|---|
1.49 | 1 |
1.5 | 2 |
-1.49 | -1 |
-1.5 | -1 |
-1.51 | -2 |
ADomain, nr of rows = 5