Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 12890

Rounding - Always Round Up

$
0
0

Hi All,

 

Is there a way in T-SQL using the round command to always round up regadless of the value.

 

For example:ROUND(normal_hours * pay_rate * 52, - 3) AS Expr3

 

normal_hours = 36

pay rate = 23.64

weeks in year = 52

 

(36 * 23.64) * 52 = 44,254.08

 

It rounds to 44,000. I want 45,000.  Is this possible. Am I overlooking the obvious?

 

 

Thanks in Advance and Happy Holidays!!!!!!!!

Adam

Viewing all articles
Browse latest Browse all 12890

Trending Articles



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