For business users of Microsoft Excel Free guides and templates
Home >  Excel Help >  Excel Functions >  

Math and trigonometry

TRUNC Function

Truncates a number to an integer


by Charley Kyd, MBA
Microsoft Excel MVP, 2005-2014
The Father of Spreadsheet Dashboard Reports

Syntax

TRUNC(number, num_digits)

  • number  Required.
  • The number to be truncated.
  • num_digits  Optional. Default = 0. The number of digits that should remain to the right of the decimal point after truncation.

Applies To

Excel 2003 and above

A Note About "Rounding"

In Excel, numbers can "round" in two ways.

First, they can round up or down. With this type of rounding, numbers get larger when they are rounded up, and smaller when they are rounded down.

Second, numbers can round towards zero or away from zero. When positive numbers are rounded towards zero, they get smaller; when negative numbers are rounded towards zero, they get larger.

Although Microsoft uses "round up" and "round down" to describe both types of rounding, we use "round up" or "round down" to describe the first type of rounding. And we use "round towards zero" or "round away from zero" to describe the second type.

Examples

You can download this example workbook here, along with all other example workbooks I've completed for this Excel help area.

 

Example of Excel's TRUNC function.

Other Help

Related Functions

In total, Excel 2013 offers 15 functions that round data in various ways. Here's a summary of Excel's rounding functions.

 

Charley's SwipeFile charts


Free Excel Dashboards