divide by 100 not 10
This commit is contained in:
parent
b8af6c611b
commit
cf0cea5649
|
@ -33,7 +33,7 @@ function calculate() {
|
||||||
alert("Please enter only numbers in this field.");
|
alert("Please enter only numbers in this field.");
|
||||||
}
|
}
|
||||||
|
|
||||||
var gold = +blocks / 10
|
var gold = +blocks / 100
|
||||||
console.log(gold)
|
console.log(gold)
|
||||||
var infra = +infra / 1000 * 0.005
|
var infra = +infra / 1000 * 0.005
|
||||||
console.log(infra)
|
console.log(infra)
|
||||||
|
|
Loading…
Reference in New Issue