MySQL——round()和truncate()函數(shù)
提問(wèn)人:劉旭39發(fā)布時(shí)間:2020-10-13
round()和truncate()函數(shù)
ROUND()函數(shù)用于獲得一個(gè)數(shù)的四舍五入的整數(shù)值:
SELECT ROUND(5.1),ROUND(25.501),ROUND(9.8);
繼續(xù)查找其他問(wèn)題的答案?
相關(guān)視頻回答
round()和truncate()函數(shù)
ROUND()函數(shù)用于獲得一個(gè)數(shù)的四舍五入的整數(shù)值:
SELECT ROUND(5.1),ROUND(25.501),ROUND(9.8);
點(diǎn)擊加載更多評(píng)論>>