How do you change distance in direction from km to miles?

Hi, I am using Google Maps on my website and when I use direction, distance comes out in km, is there way to change it to miles? I live in the US, so most people are used to miles.