removed CGFloat from Float extension