Function qt_core::q_round_float

source ·
pub unsafe fn q_round_float(d: c_float) -> c_int
Expand description

Rounds value to the nearest integer.

Calls C++ function: int qRound(float d).

Warning: no exact match found in C++ documentation. Below is the C++ documentation for int qRound(qfloat16 value):

Rounds value to the nearest integer.

See also qRound.