toStringWithBestUnit
Converts duration to the string with the closest and most appropriate unit
Parameters
dp
number of decimal points to display the duration
Converts duration to the string with the closest and most appropriate unit
number of decimal points to display the duration