cast to floats