More bug fixes
This commit is contained in:
parent
ce2af7e5fa
commit
460635533f
|
@ -42,9 +42,9 @@ function calculate() {
|
||||||
console.log(one)
|
console.log(one)
|
||||||
var design = +design / 1000 * 0.015
|
var design = +design / 1000 * 0.015
|
||||||
console.log(design)
|
console.log(design)
|
||||||
var gov = +gov / 1000 * 0.02
|
var gov = +gov * 0.02
|
||||||
console.log(gov)
|
console.log(gov)
|
||||||
var embassies = +embassies * 0.01
|
var embassies = +embassies * 0.02
|
||||||
console.log(embassies)
|
console.log(embassies)
|
||||||
var capital = +capital * 0.025
|
var capital = +capital * 0.025
|
||||||
console.log(capital)
|
console.log(capital)
|
||||||
|
@ -58,7 +58,7 @@ function calculate() {
|
||||||
//var percent = +percent / 100
|
//var percent = +percent / 100
|
||||||
console.log(percent)
|
console.log(percent)
|
||||||
var total = +emeralds * +percent + +emeralds
|
var total = +emeralds * +percent + +emeralds
|
||||||
var total = total.toFixed(4);
|
var total = total.toFixed(3);
|
||||||
console.log(total)
|
console.log(total)
|
||||||
var date = Date();
|
var date = Date();
|
||||||
console.log(date)
|
console.log(date)
|
||||||
|
|
Loading…
Reference in New Issue