Commit b25bcc71 authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent c0c7f33f
...@@ -80,6 +80,8 @@ function run(data, config) { ...@@ -80,6 +80,8 @@ function run(data, config) {
percentage = null percentage = null
} }
let profitPerMonth=(newT * 30 * 100)/maxReserve
// let percentage2 = maxReserve + newT // let percentage2 = maxReserve + newT
// percentage2 = maxAllocatedMoney / percentage2 // percentage2 = maxAllocatedMoney / percentage2
...@@ -98,7 +100,7 @@ function run(data, config) { ...@@ -98,7 +100,7 @@ function run(data, config) {
dur:dur, dur:dur,
totalFinal:totalFinal, totalFinal:totalFinal,
profitPerMonth:profitPerMonth+'%',
maxAllocatedMoney: maxAllocatedMoney, maxAllocatedMoney: maxAllocatedMoney,
avgAllocatedMoney: maxAllocatedMoney / total, avgAllocatedMoney: maxAllocatedMoney / total,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment