Mongoose Schema Cast Decimals
var intHolderSchema = new mongoose.Schema({
'integer': { type: Number, set: function (v) { return Math.round(v) ;}}
}) ;
florinrelea
var intHolderSchema = new mongoose.Schema({
'integer': { type: Number, set: function (v) { return Math.round(v) ;}}
}) ;