[bisq-network/bisq] Dao ui improvements (#1751)

sqrrm notifications at github.com
Fri Oct 12 07:32:20 UTC 2018


sqrrm commented on this pull request.



> @@ -114,4 +116,101 @@ public Coin parseSatoshiToBtc(String satoshi) {
             return Coin.ZERO;
         }
     }
+
+
+    public String formatParamValue(Param param, long value) {
+        switch (param) {
+            case UNDEFINED:
+                return Res.get("shared.na");
+
+            case BSQ_MAKER_FEE_IN_PERCENT:
+            case BSQ_TAKER_FEE_IN_PERCENT:
+            case BTC_MAKER_FEE_IN_PERCENT:
+            case BTC_TAKER_FEE_IN_PERCENT:
+                return formatToPercentWithSymbol(value / 10000d);

Ah, now I get it. Probably good to add a comment about that to make it clear

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/1751#discussion_r224694317
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20181012/bfad26ab/attachment.html>


More information about the bisq-github mailing list