2023-11-14
This commit is contained in:
parent
51d64d6da1
commit
416366935c
|
@ -346,6 +346,9 @@ namespace FineUIPro.Web.common
|
||||||
public static string GetMajorZgl()
|
public static string GetMajorZgl()
|
||||||
{
|
{
|
||||||
var num1 = Math.Round(100.0 * GetMajorClosedNum() / (GetMajorClosedNum() + GetMajorNotClosedNum()), 0).ToString();
|
var num1 = Math.Round(100.0 * GetMajorClosedNum() / (GetMajorClosedNum() + GetMajorNotClosedNum()), 0).ToString();
|
||||||
|
if (num1 == "NaN") num1 = "0";
|
||||||
|
|
||||||
|
|
||||||
return num1;
|
return num1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue