Divide by blocks
This commit is contained in:
parent
cf0cea5649
commit
a0378ba3cd
|
@ -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 / 100
|
var gold = +blocks / 1000 * 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