Truncates a Currency to an integer value.
[Visual Basic] Public Shared Function Truncate( _ ByVal c As Currency _ ) As Currency [C#] public static Currency Truncate( Currency c ); [C++] public: static Currency Truncate( Currency c ); [JScript] public static function Truncate( c : Currency ) : Currency;
The Currency value, rounded towards zero to the nearest integer value.
The Truncate method changes the Currency value by removing all the number beyond the decimal point and rounding the result to the nearest integer.
Precisely, the Currency argument is rounded towards zero to the nearest integer value, corresponding to removing all digits after the decimal point.