Fixed float_set method