Added formatting for distance displays.