round towards zero
y=int(X)
:X real matrix : :y integer matrix :
int(X) returns the integer part of the real matrix X. Same as fix.
int([1.3 1.5 1.7 2.5 3.7]) // Notice the result for x negative int([-1.3 -1.5 -1.7 -2.5 -3.7])
Enter search terms or a module, class or function name.