scalar

ROUND

Rounds to a chosen decimal scale; tie handling depends on type and engine. Example target: PostgreSQL 17. No tables or extensions required.

Formal Syntax & Structure

sql syntaxsql
ROUND(x, digits)

Working Example

Example Snippetsql
SELECT round(12.346,2);
SQL Reference