I am having problem to format digits in my select column.I used FORMAT but it doesn\'t work. Here is my column:
sum(cast(datediff(second, IEC.CREATE_DATE, IEC.ST
Try cast result to numeric
CAST(sum(cast(datediff(second, IEC.CREATE_DATE, IEC.STATUS_DATE) as float) / 60) AS numeric(10,2)) TotalSentMinutes
Input
1 2 3
Output
1.00 2.00 3.00