DecimalMath.Truncate Method

Calculates the integral part of a specified decimal number.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static decimal Truncate(
	decimal value
)

Parameters

value  Decimal
A number to truncate.

Return Value

Decimal
The integral part of value; that is, the number that remains after any fractional digits have been discarded.

See Also