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)