이거 round

sanghoon Reply 8 years 31 weeks ago
Math.round(S*100)/100 으로 프린트ln 하면 정수부분만나오느데 왜 double t = Math.round(S*100); System.out.println(t/100); 이렇게하면 소수까지나와요?
cjmp1 Reply 8 years 31 weeks ago
아래질문과 답변이똑같습니다