String的format方法

【String的format方法】

String的format方法

文章插图
字符串的格式化方法介绍:如何将字符串1680.0格式化为1680,如何写出那个表达式?解决方法: