Rounds a Decimal down to the next lower whole number value.
[Visual Basic] Public Shared Function Floor( _ ByVal d As Decimal _ ) As Decimal [C#] public static Decimal Floor( Decimal d ); [C++] public: static Decimal Floor( Decimal d ); [JScript] public static function Floor( d : Decimal ) : Decimal;
The Decimal argument rounded toward negative infinity to the next lower whole number value.
The Floor method is used to truncate the Decimal value by rounding to the next lower whole number. (For more information, see Truncate.)