Function Mechatronix::roundToNearInteger

Function Documentation

inline integer Mechatronix::roundToNearInteger(real_type x)

round a float to the nearest integer number