Truncate Method

Math.Truncate Method

Calculates the integral part of a number.

Name Description
Math.Truncate (Decimal) Calculates the integral part of a specified decimal number.
Math.Truncate (Double) Calculates the integral part of a specified double-precision floating-point number.

The number is rounded to the nearest integer towards zero.

Community Additions

ADD
Show:
© 2016 Microsoft