Ceiling()

Math::Ceiling(const Decimal&) method

Returns the smallest integral value that is greater than or equal to the specified value.

static Decimal System::Math::Ceiling(const Decimal &d)

Arguments

ParameterTypeDescription
dconst Decimal&A decimal number

Return Value

The smallest integral value that is greater than or equal to d

Math::Ceiling(double) method

Returns the smallest integral value that is greater than or equal to the specified value.

static double System::Math::Ceiling(double a)

Arguments

ParameterTypeDescription
adoubleA double-precision floating point number

Return Value

The smallest integral value that is greater than or equal to d

See Also