Searched refs:numberFormat (Results 1 – 1 of 1) sorted by relevance
78 NumberFormat numberFormat = NumberFormat.getNumberInstance(); in formatDistanceBetween() local84 numberFormat.setMaximumFractionDigits(1); in formatDistanceBetween()85 return numberFormat.format(distance / 1000) + DISTANCE_KM_POSTFIX; in formatDistanceBetween()87 return numberFormat.format(distance) + DISTANCE_M_POSTFIX; in formatDistanceBetween()