moved doubles to floats.