mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-23 06:55:08 +01:00
Fix wrong precision value
Fixes https://github.com/bisq-network/bisq/issues/2615
This commit is contained in:
parent
6387cfa5bf
commit
339198bb45
1 changed files with 1 additions and 1 deletions
|
@ -560,7 +560,7 @@ public class BSFormatter {
|
|||
String input = percentString.replace("%", "");
|
||||
input = cleanDoubleInput(input);
|
||||
double value = Double.parseDouble(input);
|
||||
return MathUtils.roundDouble(value / 100d, 2);
|
||||
return MathUtils.roundDouble(value / 100d, 4);
|
||||
}
|
||||
|
||||
public long parsePriceStringToLong(String currencyCode, String amount, int precision) {
|
||||
|
|
Loading…
Add table
Reference in a new issue