Here is a converter that takes any US measurement (like feet or miles) and converts it into inches, feet, yards, and miles and displays them all to the user. Its really useful to do quick and easy conversions. It could easily be adapted to metric also.
https://gist.github.com/LernerProductions/5786703