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!

Math.Floor

Rounds a number down to the smallest whole number less than or equal to the number.

[Visual Basic]
Public Shared Function Floor( _
   ByVal d As Double _
) As Double
[C#]
public static double Floor(
   double d
);
[C++]
public: static double Floor(
   double d
);
[JScript]
public static function Floor(
   d : double
) : double;

Parameters

d
The number whose floor is requested.

Return Value

Returns the largest mathematical integer that is not greater than d, as a Double.

See Also

Math Class | Math Members | System Namespace