-
Notifications
You must be signed in to change notification settings - Fork 1
RoundDown
mtbeek32 edited this page Jan 31, 2024
·
8 revisions
Conversion functions roundDown
roundDown(a)
roundDown(a) results in a integer data item rounded off downwards from data item a. Float32/64 data items are rouded off to the int32 value type, f/dpoint data items to the ipoint value type.
- data item with float32, float64, fpoint or dpoint value type
5.45
attribute<int32> roundDownA (ADomain) := roundDown(A);
A | roundDownA |
---|---|
1.49 | 1 |
1.5 | 1 |
-1.49 | -2 |
-1.5 | -2 |
-1.51 | -2 |
ADomain, nr of rows = 5
GeoDMS ©Object Vision BV. Source code distributed under GNU GPL-3. Documentation distributed under CC BY-SA 4.0.