# TRUNC function

## Description

TRUNC(x) truncates the number x to an integer by removing the fractional part of x.

The TRUNC function differs from the INT function only when the argument is a negative number.

The argument x can be a real number, a complex number, or a matrix. When it is a matrix, the function returns a matrix with the same dimensions and with the TRUNC function applied to all elements.

## Examples

TRUNC(5.6) equals 5

TRUNC(-5.6) equals -5