ROUND
Description
Returns a numeric value, rounded to the specified length or precision. (ROUND in Transact-SQL).
Sample Source Pattern
Syntax
ROUND ( numeric_expression , length [ ,function ] )
Examples
Code:
SELECT ROUND(123.9994, 3) AS COL1, ROUND(123.9995, 3) AS COL2;
Result:
COL1 |COL2 |
--------+--------+
123.9990|124.0000|
Related Documentation
Last updated