Function qt_core::q_floor

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

Return the floor of the value v.

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

C++ documentation:

Return the floor of the value v.

The floor is the largest integer that is not greater than v. For example, if v is 41.2, then the floor is 41.

See also qCeil().