https://kotlinlang.org logo
Title
l

Lucas

02/28/2023, 2:01 PM
Is everyone really implementing number formatting themselves?
r

Robert Munro

03/01/2023, 8:00 AM
It's quite easy to just provide the platform number formatting via
expect
l

Lucas

03/01/2023, 12:13 PM
It is an alternative, but if it was available on the common module by default it would be much better
r

Robert Munro

03/01/2023, 1:29 PM
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.