round

fun round(roundTo: Any): Duration(source)