NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Decimal.Floor

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;

Parameters

d
The Decimal to truncate.

Return Value

The Decimal argument rounded toward negative infinity to the next lower whole number value.

Remarks

The Floor method is used to truncate the Decimal value by rounding to the next lower whole number. (For more information, see Truncate.)

See Also

Decimal Structure | Decimal Members | System Namespace