Function qt_core::q_ceil

source ·
pub unsafe fn q_ceil(v: c_double) -> c_int
Expand description

Return the ceiling of the value v.

Calls C++ function: int qCeil(double v).

C++ documentation:

Return the ceiling of the value v.

The ceiling is the smallest integer that is not less than v. For example, if v is 41.2, then the ceiling is 42.

See also qFloor().