晚上好, 我的代码不会四舍五入,我不知道为什么!请帮忙! import java.util.*;
import java.math.*;
public class Arithmetic {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int
下面的测试失败: @Test
public void testRound() throws Exception {
double v = 0.015d;
DecimalFormat format = new DecimalFormat("#.##", new DecimalFormatSymbols(Locale.US));
format.setRoundingMo