|
@@ -53,7 +53,7 @@ func CalReturnAmountAndRatio(level, ownbuyReturnType, peerNum int, userType stri |
|
|
amountList[i].Val = 0 |
|
|
amountList[i].Val = 0 |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
commission = zhios_order_relate_utils.FloatFormat(commission, 2) |
|
|
|
|
|
|
|
|
commission = zhios_order_relate_utils.FloatFormat(commission, 3) |
|
|
|
|
|
|
|
|
for i, coin := range amountList { |
|
|
for i, coin := range amountList { |
|
|
amountList[i].Val = zhios_order_relate_utils.FloatFormat(coin.Val, 6) |
|
|
amountList[i].Val = zhios_order_relate_utils.FloatFormat(coin.Val, 6) |
|
|