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