Skip to content
Snippets Groups Projects
Commit b927eb2e authored by pabbuen's avatar pabbuen
Browse files

Redondeadas las ventas a las centenas.

parent aee88529
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ function getSales(date, region) {
if(region == "Other") ventas += parseFloat(date[j].Other_Sales);
if(region == "Global") ventas += parseFloat(date[j].Global_Sales);
}
return ventas;
return Number(Math.round(ventas + 'e2') + 'e-2');
}
function cargaDatos() {
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment