According to IRENA (2017) 37% of the price of offshore wind turbines, is under the watersurface (support structure/foundation & construction/installation). That is approximately €7.5 million, each. Being able to build turbines in harbours reduces costs vastly.
Furthermore, floating wind turbines allow for placement in deeper seas. Here, wind is faster, so more energy can be generated.