Calculates the integral part of a specified decimal number.
d A number to truncate.
The integral part of d; that is, the number that remains after any fractional digits have been discarded.
Math.Truncate(decimal) rounds d to the nearest integer towards zero.