Is everyone really implementing number formatting ...
# multiplatform
l
Is everyone really implementing number formatting themselves?
r
It's quite easy to just provide the platform number formatting via
expect
l
It is an alternative, but if it was available on the common module by default it would be much better
r
I think formatting is a bit tricky as all the underlying platforms have implementation differences. So it probably would have to be a new library that was pure kotlin. It's a similar problem for date formatting. But yes it would be great.
p
Unfortunately in
jsMain
you seem to just return the default
toString()
result