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.
Merge pull request #88 from c0m4/patch-1

round any floating number