mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
This commit is contained in:
parent
d3222df396
commit
918cd152b1
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ namespace BTCPayServer.Rating
|
|||
while (true)
|
||||
{
|
||||
var rounded = decimal.Round(value, divisibility, MidpointRounding.AwayFromZero);
|
||||
if ((Math.Abs(rounded - value) / value) < 0.001m)
|
||||
if ((Math.Abs(rounded - value) / value) < 0.01m)
|
||||
{
|
||||
value = rounded;
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue