MTM
round
round to nearest integer
Calling Sequence
Parameters
Description
Examples
round(M)
M
-
array or expression
round(M) rounds M to the nearest integer.
The round(M) function rounds element-wise to the nearest integer of M. The result, R, is formed as R[i,j] = round(M[i,j]).
withMTM:
M≔Matrix2,3,fill=−3.6:
roundM
−4−4−4−4−4−4
See Also
MTM[ceil]
MTM[fix]
MTM[floor]
MTM[frac]
Download Help Document