Use Distance.view(Quantity) to convert distance to quantity