1#include <iostream>
2#include <cmath>
3
4using namespace std;
5
6int main()
7{
8 int x = 15;
9 double result;
10 result = round(x);
11 cout << "round(" << x << ") = " << result << endl;
12
13 return 0;
14}
15
1double round(double x);
2float round(float x);
3long double round(long double x);
4double round(T x); // For integral type
5