運維工做平常積累

#截取數字數據庫 SELECT  TRUNC(15.79,1) "Truncate" FROM DUAL;  //15.79取一位小數,得15.7 SELECT ROUND(15.75, 1) rounded , ROUND(15.71,1) truncated from dual  //四捨五入 SELECT FLOOR(ROUND(15.79, 0)), FLOOR(ROUND(15.79,
相關文章
相關標籤/搜索