MathCeiling Method (Double) |
Returns the smallest integral value that is greater than or equal to the specified double-precision floating-point number.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public static double Ceiling(
double a
)
Parameters
- a
- Type: SystemDouble
A double-precision floating-point number.
Return Value
Type:
DoubleThe smallest integral value that is greater than or equal to
a. If
a is equal to
NaN,
NegativeInfinity, or
PositiveInfinity, that value is returned. Note that this method returns a
Double instead of an integral type.
See Also