-
Notifications
You must be signed in to change notification settings - Fork 1
RoundToZero_64
Jip Claassens edited this page Jul 6, 2026
·
7 revisions
Conversion functions roundToZero_64
roundToZero_64(a)
roundToZero_64(a) results in an integer data item rounded towards zero from data item a. Float32/64 data items are rounded off to the int64 value type.
- data item with float32 or float64 value type
5.45
attribute<int64> roundToZero_64A (ADomain) := roundToZero_64(A);
| A | roundToZero_64A |
|---|---|
| 1.49 | 1 |
| 1.5 | 1 |
| -1.49 | -1 |
| -1.5 | -1 |
| -1.51 | -1 |
ADomain, nr of rows = 5
GeoDMS ©Object Vision BV. Source code distributed under GNU GPL-3. Documentation distributed under CC BY-SA 4.0.