Math-class for floats