Round_64
Conversion functions round_64
syntax
round_64(a)
definition
round_64(a) results in an integer data item rounded off from Data item a. Float32/64 data items are rounded off to the int64 Value type.
applies to
- data item with float32 or float64 value type
since version
5.45
example
attribute<int64> 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