Don't forget that the UK also had to pay for its share of the development of Typhoon, and purchase of a varying number (at least 150, perhaps as many as 225 if I remember aright).
Which cost the UK MORE than either the UK share of the F-35B program or the building of the RN's two floating bird farms (and possibly as much as both combined).