[stdlib] Remove unused kotlin.time.formatUpToDecimals
This commit is contained in:
committed by
Space Team
parent
1e9bc1abc7
commit
2d08953c91
@@ -27,7 +27,3 @@ internal actual fun formatToExactDecimals(value: Double, decimals: Int): String
|
||||
if (rounded < 0) "-$positiveString" else positiveString
|
||||
}
|
||||
}
|
||||
|
||||
internal actual fun formatUpToDecimals(value: Double, decimals: Int): String {
|
||||
return value.asDynamic().toLocaleString("en-us", json("maximumFractionDigits" to decimals)).unsafeCast<String>()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user