Changed global Dinero rounding IO-469.

This commit is contained in:
Patrick Fic
2021-02-02 14:43:09 -08:00
parent d1280e8680
commit 49a9f71d19
5 changed files with 12 additions and 11 deletions

View File

@@ -2,6 +2,7 @@ const Dinero = require("dinero.js");
Dinero.defaultCurrency = "CAD";
Dinero.globalLocale = "en-CA";
Dinero.globalRoundingMode = "HALF_UP";
exports.default = async function (req, res) {
const { job } = req.body;