#include #include double math·round(double x) { double f; f = math·floor(x); if((x-f) > 0.5) return f+1; return f; }