Skip to content
Snippets Groups Projects
Commit 5e860317 authored by Vytor Calixto's avatar Vytor Calixto :space_invader:
Browse files

Comment log entries

parent 8b501f50
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -166,7 +166,7 @@ pibpercapitaApp.get('/', rqf.parse(), rqf.build(), (req, res, next) => {
}, query, (req, res, next) => {
req.result.forEach((i) => {
let value = i.total;
console.log(i.total);
// console.log(i.total);
let res = value.toString().split(".");
//rounding decimal.
let decimal = Math.round(res[1].toString().substring(0,2) + (".") + res[1].toString().substring(2,3));
......@@ -176,7 +176,7 @@ pibpercapitaApp.get('/', rqf.parse(), rqf.build(), (req, res, next) => {
} else {
i.total = parseFloat(res[0] + "." + decimal);
}
console.log(i.total);
// console.log(i.total);
});
next();
}, addMissing(rqf), id2str.transform(false), response("pibpercapita"));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment