RoundToZero_64

conversion-functions roundToZero_64

syntax

roundToZero_64(a)

definition

roundToZero_64(a) results in a integer data item rounded towards zero 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<int32> 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

see also