round functions [V2.01.00 or later]


[Syntax]

double round(double x)

float roundf(float x)

long double roundl(long double x)

[Description]

These functions round x to the nearest integer value. If x is just in the middle, the value farther away from 0 is selected, regardless of the current rounding direction.