etc
[Java] Class Math round() - 소수점을 정수로 변환
이단서로
2020. 9. 10. 06:26
주제>
Class Math round()
소수점을 정수로 변환한다.
함수 요약>
Modifier and Type | Method and Description |
static long | round(double a)Returns the closest long to the argument, with ties rounding to positive infinity. |
static int | round(float a)Returns the closest int to the argument, with ties rounding to positive infinity. |
출처>
오라클 자바 문서
https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html
728x90