From a0378ba3cda7ccd4ce6a0ab32b9a0b42b022fdea Mon Sep 17 00:00:00 2001 From: Josh Mudge Date: Mon, 18 Sep 2017 19:25:09 -0600 Subject: [PATCH] Divide by blocks --- calculate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calculate.js b/calculate.js index da13b5f..258adf1 100644 --- a/calculate.js +++ b/calculate.js @@ -33,7 +33,7 @@ function calculate() { alert("Please enter only numbers in this field."); } - var gold = +blocks / 100 + var gold = +blocks / 1000 * 100 console.log(gold) var infra = +infra / 1000 * 0.005 console.log(infra)