Numeric data type is returned as String code example
Example: Numeric data type is returned as String
//in app.js
var types = require('pg').types
types.setTypeParser(1700, function(val) {
return parseFloat(val);
});
//in app.js
var types = require('pg').types
types.setTypeParser(1700, function(val) {
return parseFloat(val);
});