오라클 숫자 함수
round (반올림) select round(1234.5678), round(1234.5678,1), round(1234.5678,2), round(1234.5678,-1), round(1234.5678,-2) from dual; TRUNC(숫자 버림) select trunc(1234.5678), trunc(1234.5678,1), trunc(1234.5678,2), trunc(1234.5678,-1), trunc(1234.5678,-2) from dual; CEIL, FLOOR 각각 입력된 숫자와 가까운 큰 정수, 작은 정수를 반환하는 함수이다. select ceil(1234.5678), floor(1234.5678), ceil(-1234.5678), floor(-1234.5678) from dual;..
2021. 10. 24.