Round percentage
This commit is contained in:
parent
712922fc3e
commit
7ac4f6a544
|
|
@ -865,7 +865,7 @@ pub async fn update_profit_percent() {
|
|||
profit_percent = (decimal_sub(
|
||||
decimal_div(element.usdt_profit, element.invested_usdt),
|
||||
dec!(1),
|
||||
))
|
||||
)).round_dp(2)
|
||||
.to_f64()
|
||||
.unwrap()
|
||||
* 100.0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user