java double 相加问题

2025-04-25 16:32:35
推荐回答(1个)
回答1:

NumberFormat nf = NumberFormat.getInstance ();
System.out.println (nf.format (db));