klyn.math.NDArray.round
method
public round() as NDArray<T>:
Description
Rounds each element to the nearest integer value while preserving the array element type.
a = NDArray<Double>.fromList([1.2, 3.8])
print(a.round())