Fix floor logic

This commit is contained in:
Berkeley Martinez
2016-02-22 22:32:50 -08:00
parent adfb21aaf9
commit 49b9c7cc0c

View File

@ -28,13 +28,10 @@ export default function about(app) {
globalCompletedCount: numberWithCommas(
5612952 + (Math.floor((Date.now() - 1446268581061) / 1800))
),
globalPledgedAmount: numberWithCommas(
28000.00 +
(
Math.floor((Date.now() - 1456207176902) / (2629746 / 2000)) *
8.30
)
)
globalPledgedAmount: numberWithCommas(Math.floor(
28000 +
((Date.now() - 1456207176902) / (2629746000 / 2000) * 8.30)
))
});
})
.subscribe(() => {}, next);