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.Ceil

Rounds a number up to the smallest whole number greater than or equal to the number.

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

Parameters

a
The number whose ceiling is desired.

Return Value

Returns the smallest mathematical integer that is not less than d, as a Double.

See Also

Math Class | Math Members | System Namespace