hey guys, silly question: what's the best way of f...
# multiplatform
a
hey guys, silly question: what's the best way of formatting a Float/Double to String with a given number of decimals in Kotlin common?
a
"%.2f".format(value)
a
you can't do it in Kotlin multiplatform, unfortunately: the format() String extension is not in Kotlin common 😕
m
@alexfacciorusso did you find a workaround for this ?