display format of distance