|
|
@@ -811,9 +811,11 @@ class HnstMainFragment : BaseFragment<HnstMainViewmodel>() {
|
|
|
if (worth != 0.0) {
|
|
|
risk = it?.usedmargin?.div(worth) ?: 0.0
|
|
|
}
|
|
|
- text = NumberUtils.roundNum(
|
|
|
- NumberUtils.doubleDistortion(risk.toString()), 4
|
|
|
- ).toPercentage2()
|
|
|
+// text = NumberUtils.roundNum(
|
|
|
+// NumberUtils.doubleDistortion(risk.toString()), 4
|
|
|
+// ).toPercentage2()
|
|
|
+
|
|
|
+ text = risk.toString().toPercentage2()
|
|
|
} else {
|
|
|
text = "****"
|
|
|
}
|