scala中格式化小数点

来源:互联网 发布:网络兑换平台有哪些 编辑:程序博客网 时间:2024/06/05 22:58
  private val decimalFormatter = new DecimalFormat()  decimalFormatter.setMaximumFractionDigits(3)
原创粉丝点击