Hi! I couldn't find in stdlib common implementatio...
# stdlib
p
Hi! I couldn't find in stdlib common implementation fo formatting Double to String by pattern. Is there any crossplatform solution for that?
g
No, there is no MPP version of String.format
p
Thanks, Andrey! May be you know why?
g
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
anyway, I think it’s just not there because it’s not so simple to support
probably there is an issue about this on kotlin issue tracker