MS Excel: Trunc Function
In Excel, the Trunc function returns a number truncated to a specified number of digits.
The syntax for the Trunc function is:
Trunc( number, digits )
number is the number to truncate.
digits is optional. It is the number of decimal places to display in the resulting truncated number. If this parameter is omitted, the Trunc function will assume 0.
Applies To:
- Excel 2007, Excel 2003, Excel XP, Excel 2000
For Example:
Let's take a look at an example:

Based on the Excel spreadsheet above:
=Trunc(A1) would return 662 =Trunc(A1, 0) would return 662 =Trunc(A1, 1) would return 662.7 =Trunc(A2, -1) would return 50 =Trunc(67.891) would return 67 =Trunc(-23.67, 1) would return -23.6