var filters = {
  toFix: function (num1) {
    if (typeof num1 == "undefined") {
      return num1;
    } else {
      return Number(num1.toFixed(2));
    }
  },
};

module.exports = {
  toFix: filters.toFix,
  toNumber: filters.toNumber,
};
