Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 4729

Round Off float value to 2 decimal places

$
0
0

Hi,

I have a requirement in SQL Server. Say I have a value, 178.6999

I need this to be shown as 178.70

I tried 'select CAST(ROUND(178.6999, 2) AS FLOAT)'

Please help... :(


Viewing all articles
Browse latest Browse all 4729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>