How can I switch from imperial to metric (or metric to imperial)?

How can I switch from imperial to metric (or metric to imperial)?