Decimal..::..Truncate Method
Returns the integral digits of the specified Decimal; any fractional digits are discarded.
Namespace:
SystemAssembly: Bridge (in Bridge.dll)
Syntax
[TemplateAttribute] public static decimal Truncate( decimal d )
<TemplateAttribute> _ Public Shared Function Truncate ( _ d As Decimal _ ) As Decimal
[TemplateAttribute] public: static Decimal^ Truncate( Decimal^ d )
Parameters
- d
- Type: System..::..Decimal
The decimal number to truncate.