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)