round any floating number

When using datapoints from graphite, averaging the datapoints might show a number with many digits after the floating point. 
I've added a rounding function to make sure its shows an integer number.