A float cylinder and accumulator are coupled between a header main frame and an attachment frame. The float cylinder is orientated so that its mechanical advantage in applying a float force to the header varies with the position of the main frame relative to the attachment frame. Similarly, the pressure exerted by the cylinder varies inversely with its mechanical advantage.