You are viewing a single comment's thread. Return to all comments →
Yeah, for MS SQL you need to cast as numeric(10,2) after rounding so it will show only two decimal places.
select cast(round(sum(lat_n), 2) as muneric(10,2))
Seems like cookies are disabled on this browser, please enable them to open this website
Weather Observation Station 2
You are viewing a single comment's thread. Return to all comments →
Yeah, for MS SQL you need to cast as numeric(10,2) after rounding so it will show only two decimal places.
select cast(round(sum(lat_n), 2) as muneric(10,2))