Function qt_core::q_round_double
source · pub unsafe fn q_round_double(d: c_double) -> c_int
Expand description
Rounds value to the nearest integer.
Calls C++ function: int qRound(double 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.