toStringWithBestUnit

Converts duration to the string with the closest and most appropriate unit

Parameters

dp

number of decimal points to display the duration