I saw a remark on Twitter recently that there are two groups of countries in the world, those who use the metric system, and those who have been to the moon. It's a cute remark, but it's not really true. All the calculations in the AGC, were done in metric units. However, since the astronauts were all air-force pilots who were used to feet per second and nautical miles, the units were converted for the display on the AGC. That's why if you listen to the moon landing, or read the transcript, you'll find things like "30 feet". But the computer was doing all its calculations in metric, since they are a lot simpler. You can read more details at the
UK Metric Association including some extracts from the source code showing all the constants in metric such as the thrust in Newtons or the fuel burn-rates in kilograms per centisecond.