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:

IN -> SqlServer_01.sql
SELECT ROUND(123.9994, 3) AS COL1, ROUND(123.9995, 3) AS COL2;  

Result:

COL1    |COL2    |
--------+--------+
123.9990|124.0000|

Known Issues

No issues were found.

No related EWIs.

Last updated