Commands by Category:
Index:
Round towards 0.
fix
x (NxK matrix or N-dimensional array) – data
y (NxK matrix or N-dimensional array) – contains the rounded elements of x.
x = { 0.9, -0.9, 2.7, -2.7 }; y = fix(x); print y;
0.0000000 0.0000000 2.0000000 -2.0000000
See also
Functions trunc(), floor(), ceil(), round()
trunc()
floor()
ceil()
round()
previous
filesa
next
floor