|
|
@@ -49,7 +49,7 @@ func DealTransferIn(session *xorm.Session, amount float64) (err error, value flo |
|
|
|
return |
|
|
|
} |
|
|
|
nowValueF := decimal.NewFromFloat(nowValue) |
|
|
|
value, _ = amountValue.Div(nowValueF).Float64() |
|
|
|
value, _ = amountValue.Div(nowValueF).RoundFloor(4).Float64() |
|
|
|
return |
|
|
|
} |
|
|
|
|
|
|
|