def myRound(a: Double): String ={
f"$a%1.2f"
}
scala中格式化小数
猜你喜欢
转载自my.oschina.net/hycky/blog/1786096
今日推荐
周排行