ROUND
Description
Sample Source Pattern
Syntax
ROUND ( numeric_expression , length [ ,function ] ) ROUND( <input_expr> [, <scale_expr> ] )Examples
SELECT ROUND(123.9994, 3) AS COL1, ROUND(123.9995, 3) AS COL2; COL1 |COL2 |
--------+--------+
123.9990|124.0000|SELECT ROUND(123.9994, 3) AS COL1,
ROUND(123.9995, 3) AS COL2;COL1 | COL2 |
--------+------+
123.999|124.000|Related Documentation
Last updated
Was this helpful?