Rounds up or down a floating point number
