stanley-king 2 年之前
父節點
當前提交
b069dc541c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      helper/refill/policy/ctl_itemex.php

+ 1 - 1
helper/refill/policy/ctl_itemex.php

@@ -135,7 +135,7 @@ class ctl_itemex
 
     public function compile_val($profit_ratio)
     {
-        $val = $this->mRatio * sqrt($profit_ratio) * 100 / $this->mNotifyTime;
+        $val = sqrt($this->mRatio * $profit_ratio) * 100 / $this->mNotifyTime;
         return round($val,5);
     }
 }