Item Value
Header filemath.h
Declaratinlong long int llroundf(float arg);long long int llround(double arg);long long int llroundl(long double arg);
Returnreturns the value of arg rounded to the nearest long long integer.
Values precisely between two values, such as 3.5, are rounded up.
#include
#include
int main(void)
{
printf("%l", llround (1.2));
return 0;
}