added float_class function to the framework