Test additional content header

ValueMathTruncateT Method

Calculates the integral part of a specified underlying decimal number.

Definition

Namespace: Fluent.Calculations.Primitives.BaseTypes
Assembly: Fluent.Calculations.Primitives (in Fluent.Calculations.Primitives.dll) Version: 1.1.0-aplha
public static T Truncate<T>(
	T value
)
where T : new(), IValueProvider

Parameters

value  T
Value to Truncate

Type Parameters

T
Type of value

Return Value

T
Value containing the primitive result, expression name and input value as an argument.

Remarks

Please refer to .NET Math.Truncate(Decimal) documentation for more details.

See Also