개발일지/Database

내장함수 - Numeric

ZI_CO 2022. 10. 13. 16:37

ex)

select abs(-243.5); -- 절대값


select ACOS(0.25); -- 코사인

select CEIL(25.15); -- 올림 처리

 

select round(134.1234, 1); -- 반올림 처리

 

select floor(25.75); -- 소수점 버림 처리

 

select rand(); -- 난수