trunc(A,n) returns the elements of A truncated to a precision of n significant decimal digits. A and/or n can be arrays; if they are both arrays their dimensions must be the same.