Vi que hay una función round() que devuelve el int más cercano de la variable numérica.
Pero no existe una función round(x) que devuelva el valor numérico con x decimal.
Por ejemplo:
select round(192.4525, 2) -> 192.46
select round(2.3246, 2) -> 2.32
Algunos documentos aquí:
http://www.postgresql.org/docs/9.1/static/functions-math.html
¿Qué tan bien se admite esto en otros dialectos de SQL?
Hay la misma función en MySql:
http://dev.mysql.com/doc/refman/5.0/fr/matemáticas-funciones.html
También en Oracle:
http://docs.oracle.com/cd/B19306_01/server.102/b14200/functions135.htm
Agregado a MathExpressions
Publicado en 3.2.2
Comentario más útil
Agregado a
MathExpressions