This is a computer translation of the original content. It is provided for general information only and should not be relied upon as complete or accurate.
round function returns the nearest integral value as a floating-point number. Halfway cases are rounded away from zero.
float roundf(float x);