trunc functions [V2.01.00 or later]


[Syntax]

double trunc(double x)

float truncf(float x)

long double truncl(long double x)

[Description]

These functions round x to the nearest integer value (however, its absolute value must not be larger than the absolute value of x).