Floor()

Math::Floor(const Decimal&) method

Returns the largest integral value that is less than or equal to the specified value.

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

Arguments

ParameterTypeDescription
dconst Decimal&A decimal number

Return Value

The largest integral value that is less than or equal to d

Math::Floor(double) method

Returns the largest integral value that is less than or equal to the specified value.

static double System::Math::Floor(double d)

Arguments

ParameterTypeDescription
ddoubleA double-precision floating point number

Return Value

The largest integral value that is less than or equal to d

See Also