Is there an equivalent of the DB2 function decimal(numeric expression, precision, scale)
in PostgreSQL? Or how would I do this functionality in PostgreSQL?
The DECIMAL
function returns a decimal representation of a character-string. The value of this second argument specifies the precision of the result. The scale
value specifies the scale of the result (not sure what that means?).