divide by 100 not 10

This commit is contained in:
Josh Mudge 2017-09-18 19:22:24 -06:00
父節點 b8af6c611b
當前提交 cf0cea5649
共有 1 個檔案被更改,包括 1 行新增1 行删除

查看文件

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