Any chance we can have `Double.toString(decimals: ...
# stdlib
k
Any chance we can have
Double.toString(decimals: Int)
as a publicly available function? It seems to already be implemented as part of
Duration
. https://github.com/JetBrains/kotlin/blob/rrr/2.1.0/core-docs/libraries/stdlib/src/kotlin/time/Duration.kt#L1058
e
I guess it would be useful to note in https://youtrack.jetbrains.com/issue/KT-21644/Add-utility-function-for-formatting-of-decimal-numbers-to-Kotlin-common-library that stdlib has such a private implementation already
👍 1
k
Done!