# cf.AuxiliaryCoordinate.trunc¶

AuxiliaryCoordinate.trunc(bounds=True, inplace=False, i=False)[source]

Truncate the data, element-wise.

The truncated value of the scalar x, is the nearest integer i which is closer to zero than x is. I.e. the fractional part of the signed number x is discarded.

New in version 1.0.

Parameters: bounds: bool, optional If False then do not alter any bounds. By default any bounds are also altered. inplace: bool, optional If True then do the operation in-place and return None. i: deprecated at version 3.0.0 Use inplace parameter instead. The construct with truncated data. If the operation was in-place then None is returned.
>>> print(f.array)