MS SQL Server :: Formatting Decimal Places In A Query In MS SQL

MS SQL Server :: Formatting Decimal Places In A Query In MS SQL

瀏覽:1447
日期:2025-06-16
2 Decimal Places On Sql AVG () Hi, I am trying to get my string to 2 decimal places... Here is the code:string sumSQL = "SELECT CONVERT (float,sum(callTime)/count(callTime)) as CAVG FROM leads where agent = '" + agent + "' and " + dates.Text;...看更多