Thanks to visit codestin.com
Credit goes to docs.rs

trunc

Function trunc 

Source
pub fn trunc<T: HasAfEnum>(input: &Array<T>) -> Array<T::AbsOutType>
Expand description

Truncate the values in an Array

This is an element wise unary operation.