optimize
This commit is contained in:
@@ -51,7 +51,7 @@ func ClosedTable() {
|
|||||||
|
|
||||||
tPNLR = utils.FloatRound(((sell-cost)/cost)*100, 2)
|
tPNLR = utils.FloatRound(((sell-cost)/cost)*100, 2)
|
||||||
|
|
||||||
tw.AppendFooter(table.Row{"", "", "", "TOTAL", utils.FloatRound(cost, 2), utils.FloatRound(sell, 2), utils.FloatRound(tPNL, 2), tPNLR})
|
tw.AppendFooter(table.Row{"", "", "", "TOTAL", utils.FloatRound(cost, 2), "", utils.FloatRound(sell, 2), utils.FloatRound(tPNL, 2), tPNLR})
|
||||||
|
|
||||||
fmt.Println(tw.Render())
|
fmt.Println(tw.Render())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user