rounding off in c code example
Example: c round function
#include <math.h>
double round(double x);
float roundf(float x);
long double roundl(long double x);
#include <math.h>
double round(double x);
float roundf(float x);
long double roundl(long double x);