EsbDecimals - a Free Subset of ESBPCS for .NET

DecimalOps.IntPart Method (Double)

Returns the Integral portion of the value supplied.

[Visual Basic]
Overloads Public Shared Function IntPart( _
   ByVal x As Double _
) As Decimal
[C#]
public static decimal IntPart(
   double x
);

Parameters

x
Number to be processed.

Return Value

Integral portion of the value supplied

See Also

DecimalOps Class | Esb.Math Namespace | DecimalOps.IntPart Overload List