Q:

Numeric data type is returned as String

//in app.js
var types = require('pg').types
types.setTypeParser(1700, function(val) {
    return parseFloat(val);
});
2

New to Communities?

Join the community