divide by 100 not 10

This commit is contained in:
Josh Mudge 2017-09-18 19:22:24 -06:00
rodič b8af6c611b
revize cf0cea5649
1 změnil soubory, kde provedl 1 přidání a 1 odebrání

Zobrazit soubor

@ -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)