Rounding can become misunderstood if the underlying data types and rounding functions are not understood. Depending on the data type (integer, float, decimal, etc.) the rounded value can be different. In addition, depending on the SQL Server rounding function (ROUND(), CEILING(), FLOOR()) used in the calculation the values can differ as well. As such, it is important to find out the user rounding requirements then translate those requirements into the appropriate T-SQL command. |
More.... |
4/23/2013
SQL Server Rounding Functions - Round, Ceiling and Floor
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment