sql
select CAST(YTD_CHANGE*100 as decimal(18,1)), round(YTD_CHANGE*100,1)
from RP where data_date = '20211231'
补零
sql
round(PYTD_CHANGE_PER*100,1)
不补零
sql
CAST(PYTD_CHANGE_PER*100 as decimal(18,1))