Converting floats to CGFloats.