getRoundedImperialDistanceStringWithTensRounded
fun getRoundedImperialDistanceStringWithTensRounded(distanceMeters: Float): DistanceStringHelper.Distance
Return
null or A pair: Pair.first rounded distance, Pair.second unit. This method also rounds the distance to nearby tens value. After this rounding, Specifically, if the computed tens value is less than 5, returns a default value of 10, ensuring that very small distances are adjusted appropriately.
Parameters
distanceMeters