Browse Source

更新

master
huangjiajun 1 year ago
parent
commit
b8b80ef13d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      rule/appreciation.go

+ 1
- 1
rule/appreciation.go View File

@@ -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
}



Loading…
Cancel
Save