sql server 數字四捨五入保留兩位小數 · 1. 使用Round() 函數,如Round(@num,2) ,其中參數2 表示保留兩位有效數字。 · 2. 使用Convert(decimal(18,2),@num) 實現轉換,其中 ...
確定! 回上一頁