codice:
float round(float f) {
	float y, d;
	y = f*100;
	d = y - (int)y;
	y = (float)(int)(f*100)/100;
	if (d > 0.5)
		y += 0.01;
	return y;
}