四舍五入,精確一位小數(沒分了,以后補)解决方法
四舍五入,精確一位小數(沒分了,以后補)
A 為:Decimal(18,6)
59.1499569 = 59.1
25.34999394 =25.3
49.49997474 =49.5
------解决方案--------------------
select str( '59.1499569 ',4,1)
select str( '25.34999394 ',4,1)
select str( '49.49997474 ',4,1)
A 為:Decimal(18,6)
59.1499569 = 59.1
25.34999394 =25.3
49.49997474 =49.5
------解决方案--------------------
select str( '59.1499569 ',4,1)
select str( '25.34999394 ',4,1)
select str( '49.49997474 ',4,1)