divide by 100 not 10

This commit is contained in:
Josh Mudge 2017-09-18 19:22:24 -06:00
parent b8af6c611b
commit cf0cea5649
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ function calculate() {
alert("Please enter only numbers in this field.");
}
var gold = +blocks / 10
var gold = +blocks / 100
console.log(gold)
var infra = +infra / 1000 * 0.005
console.log(infra)