Scala String interpolation with Format, how to change locale?

后端 未结 2 638
情书的邮戳
情书的邮戳 2021-02-19 17:55

When doing format string interpolation in Sweden I get a comma instead of a dot when creating strings with decimal numbers:

scala> val a = 5.010
a: Double = 5         


        
2条回答
提交回复
热议问题