The metric system was officially adopted in the UK, for most purposes, in the 20th century and both imperial and metric are taught in schools and used in books. It is now mandatory for the sale of food to also show metric. However, it is not uncommon to purchase goods which are measured and labeled in metric, but the actual measure is rounded to the equivalent imperial measure (i.e., milk labeled as 568 mL / 1 pint). In September 2007, the EU with Directive 2007/45/EC deregulated prescribed metric packaging of most products, leaving only wines and liqueurs subject to prescribed EU-wide pre-packaging legislation; the law relating to labelling of products remaining unchanged.