import java.util.*;
public class test {
public static void main(String [] args) {
Scanner scn = new Scanner(System.in);
double s = 253.3;
while(s > 9) {
s = s/10;
}
System.out.println(s);
}
}
为什么输出是2.5330000000000004而不是2.533?