Commit 15ecfcec by 黄静

hj

parent 2f66a4cd
......@@ -42,7 +42,10 @@ class RiskComputer:
else:
if flag:
ret1 = ic.finance_Compute(indexItem)
ret = float('%.2f' % ret1)
if ret1 == "—":
ret = "—"
else:
ret = float('%.2f' % ret1)
else:
ret = "—"
a=indexItem.Name
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment