Postgres returns NUMERIC data type from TO_NUMBER, which supports precision: http://www.postgresql.org/docs/9.1/static/datatype-numeric.html  My assumption is that it maps to the DECIMAL Phoenix data type.  What is your recommendation?