어떤부분이 틀렸는지 모르겠습니다

HootGeo Reply 8 years 33 weeks ago
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner input = new Scanner(System.in); double R; double A; double V; double L; R = input.nextDouble(); L = input.nextDouble(); A = R * R * 3.14159; V = A * L; double Ax = Math.floor(A*10) / 10.0; double Vx = Math.floor(V*10) / 10.0; System.out.println(Ax); System.out.println(Vx); } } 돌려보면 제대로 된 값이 나오는데 어느 부분이 문제인지 잘 모르겠습니다...
pichulia Reply 8 years 33 weeks ago
http://stackoverflow.com/questions/16098046/how-to-print-double-value-without-scientific-notation-using-java 참고