Hi! I couldn't find in stdlib common implementation fo formatting Double to String by pattern. Is there any crossplatform solution for that?
g
gildor
10/30/2019, 6:22 AM
No, there is no MPP version of String.format
p
PHondogo
10/30/2019, 6:35 AM
Thanks, Andrey! May be you know why?
g
gildor
10/30/2019, 6:37 AM
Because there is no simple way to reuse system implementation, they are quite different.
For you own use case you can delegate to system implementations, but careful, they may have different semantics
gildor
10/30/2019, 6:37 AM
anyway, I think it’s just not there because it’s not so simple to support
gildor
10/30/2019, 6:38 AM
probably there is an issue about this on kotlin issue tracker