Java 숫자
14개 함수
Math.absMath.abs(a)절댓값을 반환합니다.
Math.maxMath.max(a, b)두 값 중 큰 값을 반환합니다.
Math.minMath.min(a, b)두 값 중 작은 값을 반환합니다.
Math.powMath.pow(base, exp)base의 exp 거듭제곱을 반환합니다.
Math.sqrtMath.sqrt(a)제곱근을 반환합니다.
Math.ceilMath.ceil(a)올림한 값을 반환합니다.
Math.floorMath.floor(a)내림한 값을 반환합니다.
Math.roundMath.round(a)반올림한 값을 반환합니다.
Math.randomMath.random()0.0 이상 1.0 미만의 난수를 반환합니다.
Math.logMath.log(a)자연로그 값을 반환합니다.
Integer.parseIntInteger.parseInt(str, radix?)문자열을 정수로 파싱합니다.
Double.parseDoubleDouble.parseDouble(str)문자열을 double로 파싱합니다.
Integer.toBinaryStringInteger.toBinaryString(n)정수를 2진수 문자열로 변환합니다.
Integer.toHexStringInteger.toHexString(n)정수를 16진수 문자열로 변환합니다.
