The Trunc function is a built-in function that returns the decimal number n truncated to integer removing the decimal part of n.

Input parameters

n: Decimal Type

Output parameters

Decimal Type

Examples

Usage

Result

Trunc(-10.89 )

-10

Trunc (7.51)

7

See Also

Available Mathematical Functions | Available Built-in Functions